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

Fix: index events according to their local row id #4762

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

cronokirby
Copy link
Contributor

We use this row id as a watermark, and update it after every ingestion of an event. Previously, we were iterating over things in an undefined order, and effectively sometimes ingesting events out of order, causing bad things to happen to the watermark, leading to much FUN.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    indexing

We use this row id as a watermark, and update it after every ingestion
of an event. Previously, we were iterating over things in an undefined
order, and effectively sometimes ingesting events out of order, causing
bad things to happen to the watermark, leading to much FUN.
@conorsch conorsch self-requested a review July 25, 2024 16:23
Copy link
Contributor

@conorsch conorsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested interactively in #4760 (comment)

@conorsch conorsch merged commit 08f3b2b into main Jul 25, 2024
13 checks passed
@conorsch conorsch deleted the bug-cometindex-inorder branch July 25, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants