orbitdb / field-manual

The Offical User's Guide to OrbitDB
207 stars 43 forks source link

Replication when 2 orbitdb apps connected to a single node IPFS does not work #176

Open astudnev opened 2 years ago

astudnev commented 2 years ago

I am not sure if it s a bug or feature, but i spent quite a lot time understanding why the replication between 2 apps does not work. They were connected to the same IPFS node. As a result, replication did not work. After i started the second node, then pubsub started working for both apps. In all examples i seen, it is expected that the app is connected to own node. What happens when some apps will connect to the same node? Replication willl not work? These scenario need to be highlighted in doc

Erudition commented 1 year ago

Same result here. I expected instant replication, but instead got two separate databases.

j-rin commented 1 year ago

can u share the code used for working the pubsub.Urgent