feat: add support for Optimistic Concurrency Control#1957
feat: add support for Optimistic Concurrency Control#1957ko3a4ok wants to merge 0 commit intogoogleapis:mainfrom
Conversation
|
Warning: This pull request is touching the following templated files:
|
|
@ansh0l @rajatbhatta could you please help with review? |
rajatbhatta
left a comment
There was a problem hiding this comment.
Proto changes should be merged as part of autogenerated PRs (once the proto file changes are made public). Are the corresponding proto file changes public yet?
|
While merging this PR, we'll have to remove the protos. Which means that we should merge this PR only after visibility restriction is lifted, and proto changes are merged and made public (as part of autogenerated PR). |
olavloite
left a comment
There was a problem hiding this comment.
Looks generally good to me (with some nits on assertions).
Also; would you mind adding a test to this file:
Those tests verify that everything works as expected if a transaction fails in case of a SessionNotFoundException. That can happen if a session has been garbage collected by the backend with the client knowing/expecting it.
No description provided.