Replies: 3 comments 11 replies
-
It's NOT an atomic operation in MSET command, but we can improve it since we supports multi-key locks now. For more detail can see: https://github.com/apache/incubator-kvrocks/blob/unstable/src/types/redis_string.cc#L356 |
Beta Was this translation helpful? Give feedback.
-
Hi, @git-hulk Thank you for your clarification. Things looked different than I expected. Now I have a batch of key values that need to be inserted, but I want them to be executed in the same transaction ( Regards |
Beta Was this translation helpful? Give feedback.
-
related clarification question: in the absence of any failure:
one example of this potential race:
many thanks in advance |
Beta Was this translation helpful? Give feedback.
-
Hi, guys
I'm just getting started with kvsocks and it has a lot to offer me. But I don't know enough about it. I know it is based on rocksdb, and rocksdb supports transactions, so does the
mset
command have the atomicity of transactions? When the system fails, will the previous insertion be automatically rolled back? Thanks.Regards
Beta Was this translation helpful? Give feedback.
All reactions