Decide the behavior of Insert/CheckNotExist followed by Delete #255
ekexium
started this conversation in
Design discussion
Replies: 3 comments 2 replies
-
I feel like 1.1 is the most intuitive. What do you think? @nrc @sticnarf @andylokandy |
Beta Was this translation helpful? Give feedback.
2 replies
-
Option 4: Insert + Delete => NoOp. Contrary to 2, the key does not cause a WriteConflict. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there behaviour in TiDB we should be aligned to? Or if TiDB used the Rust client, what behaviour would be expected? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Quote from #253 :
Possible solutions:
1.1 CheckNotExist + Delete => CheckNotExist
1.2 CheckNotExist + Delete => Delete (current behavior)
Beta Was this translation helpful? Give feedback.
All reactions