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

kvclient: correctly handle epoch bumps when buffering writes #139057

Open
arulajmani opened this issue Jan 14, 2025 · 0 comments
Open

kvclient: correctly handle epoch bumps when buffering writes #139057

arulajmani opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
A-buffered-writes Related to the introduction of buffered writes A-kv-transactions Relating to MVCC and the transactional model. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-kv KV Team

Comments

@arulajmani
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

Writes performed by a transaction at an earlier epoch are no longer valid once it bumps its epoch. As such, when a transaction bumps its epoch, we should also clear out its write buffer.

@arulajmani arulajmani added A-buffered-writes Related to the introduction of buffered writes A-kv-transactions Relating to MVCC and the transactional model. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-kv KV Team labels Jan 14, 2025
@arulajmani arulajmani self-assigned this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-buffered-writes Related to the introduction of buffered writes A-kv-transactions Relating to MVCC and the transactional model. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-kv KV Team
Projects
None yet
Development

No branches or pull requests

1 participant