Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If I have two machines A and B, how can they both access and modify data in the same orbit-db at the same time #1036

Closed
justaluckyguy opened this issue Dec 15, 2022 · 1 comment

Comments

@justaluckyguy
Copy link

If I have two machines A and B, how can they both access and modify data in the same orbit-db at the same time, I create the database on A, use the address db.address.toString() returned by A on machine B, and find that the database is always empty

@haadcode
Copy link
Member

See the access controller documentation for an example how to allow multiple writers into a database.

For database appearing empty, make sure that it gets replicated and that the peers are connected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants