aviondb / aviondb-specs

Specs for AvionDB
4 stars 1 forks source link

Deterministic database syncing among the peers using single hash #2

Open vasa-develop opened 4 years ago

vasa-develop commented 4 years ago

As discussed with @vaultec81, we have the following issue with OrbitDB, which leaves peers out of sync, even if they think they are in sync.

If a node that hasn't synced all the data or cannot connect to the network will view a different database state. If that same node is hooked into a blockchain where any Dapp operations require the data to be the same across all nodes.

Here is a related issue discussion, but not totally aligned with this issue.

We are expecting a PR related to this issue in the upcoming release of OrbitDB (possibly 0.24.1).

This is an on going discussion. Feedback is welcomed.

vasa-develop commented 4 years ago

Anything you guys want to add here @vaultec81, @aphelionz?

aphelionz commented 4 years ago

Nothing to add, just looking forward to seeing the PR! Anything we can do to make strong eventual consistency even stronger is welcome.

Thanks for including me here.