Skip to content
Snippets Groups Projects
Unverified Commit 615e8b3e authored by Manish R Jain's avatar Manish R Jain
Browse files

Sync Watermark: Use deterministic techniques.

Previously, we were using deadlines based to notify synced watermarks that an
index is pending. The problem this caused was that on slower machines,
the deadline would happen before the index had a chance to be applied
and figure if it had something to be synced. This would cause the
watermark to advance, and then an older index to be received, causing an
assert failure.

Now, we treat sync just like we do applied, keep tracking of all
possible exit paths and handling them accordingly.

This change also includes renaming variables and functions to make the
terminology clear.
parent a4d91763
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment