dxos / dxos

TypeScript implementation of the DXOS protocols, SDK, and toolchain.
https://dxos.org
MIT License
356 stars 31 forks source link

ECHO queries may return stale data #7240

Open dmaretskyi opened 2 months ago

dmaretskyi commented 2 months ago

Image

Likely caused by the root doc not being updated in time.

wittjosiah commented 1 month ago

Dima: It seems like this issue rarely comes up in practice -- only when you have just replicated some data, and then immediately do a query, it's generally fine if the data is stale after replication, ECHO is eventually consistent after all. But that being said, I want to give users more control over the state of the database and data version