Earlier quoted context omitted.
Of course you need to be able to do full syncs, and the sync is not a problem. But one needs to solve the two challenges I have described: 1. Determine how to do an incremental update, given that only the tail of the stream of updated documents is missing. Not as simple as just counting. 2. Determine when you must give up and fall back to a full sync; this is when not just the tail is missing, and finding the differe…
> "My second point was that this — streaming a "non-lossy" database as a change log into one or more "lossy" ones — is such a common operation that it should be a solved problem. It certainly requires something more than a queue." This is almost exactly the cross-DC replication problem, which is a subject of active research. A changelog on the source side is only sort of helpful. It's useful to advise which rows may…
I wonder, are Merkle trees viable for continuous streaming replication, not just repair?