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

feat: Optimistic locking for records #320

Merged
merged 3 commits into from
Dec 29, 2021

Conversation

yuryu
Copy link
Member

@yuryu yuryu commented Dec 24, 2021

What type of PR is this?
/kind feat

What this PR does / Why we need it:
Record now returns Signature, which is a UUID updated with every write to the record. UpdateRecord now fails with Abort if Signature is provided and doesn't match the current value.

Which issue(s) this PR fixes:

Closes #159

Special notes for your reviewer:

@yuryu yuryu requested review from hongalex and a user December 24, 2021 03:13
@hongalex hongalex merged commit 88427f1 into googleforgames:main Dec 29, 2021
@yuryu yuryu deleted the feat/signature branch July 23, 2022 23:20
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.

Optimistic locking for record update
2 participants