-
Notifications
You must be signed in to change notification settings - Fork 388
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
Force LSN order with wrapper structure #7071
Conversation
2706 tests run: 2576 passed, 0 failed, 130 skipped (full report)Code coverage* (full report)
* collected from Rust tests only The comment gets automatically updated with the latest test results
33cb904 at 2024-03-20T11:32:01.749Z :recycle: |
For some reason I thought that We can create an enum which specifies the desired ordering constraints and either:
I think (1) is kind of ugly since rust generics are not as powerful as C++ templates. cc: @jbajic |
I don't see a problem with also making a key of |
Hmm. You'd have to kmerge by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks again, @jbajic!
Summary of changes
Add a wrapper structure 'OrderedBatchUpdates' to enforce an order of updates by LSN.
Closes #6707
Checklist before requesting a review
Checklist before merging