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

[ENG-1740] Add sempahore for generating sync operation timestamps #2335

Conversation

Brendonovich
Copy link
Contributor

When backfilling sync operations, we need to pause generating timestamps until backfill is complete in order to ensure that backfill operations have a lower timestamp than newer operations that are queued to occur after generating timestamps. This PR implements that by locking sync timestamp generation behind a semaphore that's used both when writing realtime operations and backfilling.

@Brendonovich Brendonovich requested a review from a team as a code owner April 16, 2024 07:28
Copy link

linear bot commented Apr 16, 2024

Copy link

vercel bot commented Apr 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
spacedrive-landing ✅ Ready (Inspect) Visit Preview Apr 16, 2024 7:28am
spacedrive-web ✅ Ready (Inspect) Visit Preview Apr 16, 2024 7:28am

@Brendonovich Brendonovich added this pull request to the merge queue Apr 16, 2024
Merged via the queue into main with commit b99a1ad Apr 16, 2024
11 of 12 checks passed
@Brendonovich Brendonovich deleted the eng-1740-timestamps-of-backfill-operations-could-be-newer-than-other branch April 16, 2024 08:17
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

Successfully merging this pull request may close these issues.

None yet

2 participants