Skip to content

Does CAS style transaction require DoMulti(...) #494

Answered by rueian
tm1303 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @tm1303,

If you rely on the WATCH, then there are two must:

  1. Using the WATCH in a dedicated connection.
  2. Modifying watched keys in a MULTI EXEC block in the same connection.

DoMulti is not required, but generally recommended.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tm1303
Comment options

Answer selected by tm1303
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