Skip to content

Atomicity Between WATCH and EXEC #4015

Answered by romange
suxb201 asked this question in Q&A
Oct 30, 2024 · 3 comments · 7 replies
Discussion options

You must be logged in to vote

You are right, the implementation of this feature is indeed lacks the atomicity guarantees. The right way to do it would be to check if something is modified during the schedule phase of MULTI transaction, when run locally on the shard thread.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by suxb201
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@suxb201
Comment options

@romange
Comment options

@suxb201
Comment options

@romange
Comment options

@suxb201
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants