Git Product home page Git Product logo

Comments (12)

daviddias avatar daviddias commented on August 26, 2024 1

@its-VSP that is a bug to report for go-ipfs https://github.com/ipfs/go-ipfs

from ipfs-blob-store.

daviddias avatar daviddias commented on August 26, 2024

You will have to do a ipfs.files.stat of the MFS root / and then grab that cid and call in the other node ipfs.files.cp the cid you got from the first node.

from ipfs-blob-store.

daviddias avatar daviddias commented on August 26, 2024

https://github.com/ipfs-shipyard/cohosting packs a line of work and a set of conversations that should be interesting for you :)

from ipfs-blob-store.

thecipherBlock avatar thecipherBlock commented on August 26, 2024

@daviddias , can you give me insight on., how i can make it automate like

  1. doing _m = ipfs.files.stat('/') in node1
  2. going to node2 - using what (i mean without manual routing)
  3. doing ipfs.files.cp(_m) in node 2

from ipfs-blob-store.

daviddias avatar daviddias commented on August 26, 2024

@its-VSP a few from multiple ways:

from ipfs-blob-store.

thecipherBlock avatar thecipherBlock commented on August 26, 2024

Thanks @daviddias ., we had made use of IPNS earlier but my only question is "how i can manage that static multihash[of IPNS] between the nodes"
where that ipns has a single File which is having updated heads(root hashes) of every node within a cluster
Do you have any idea or suggestion?

from ipfs-blob-store.

daviddias avatar daviddias commented on August 26, 2024

@its-VSP I wasn't able to fully grasp what you are trying to build there. Wanna draw a picture and post an image here?

from ipfs-blob-store.

thecipherBlock avatar thecipherBlock commented on August 26, 2024

@daviddias Okay. Let's say there is a load balancer which balances request between node1 and node2 ,
My question was how node 1 and 2 can look to only one ipns consisting a file having a updated hash of MFS roots of both of the nodes

Without hard coding the ipns- hash within the source code

from ipfs-blob-store.

daviddias avatar daviddias commented on August 26, 2024

@its-VSP the IPNS name is pegged to the private/public key pair. You should keep the multihash of it around, store it somewhere (DNSname, some db, hardcoded) so that it can be bootstrapped.

from ipfs-blob-store.

thecipherBlock avatar thecipherBlock commented on August 26, 2024

Thanks @daviddias .

from ipfs-blob-store.

daviddias avatar daviddias commented on August 26, 2024

You bet :)

from ipfs-blob-store.

thecipherBlock avatar thecipherBlock commented on August 26, 2024

Yes i did @daviddias
Had another issue but don't know this is the correct place or not to ask

ipfs.files.flush is returning nothing., and even the data is not being flushed

Hypothesis : I wanna flush the mfs root of node 1 before copying the updated mfs root from node 2

from ipfs-blob-store.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.