You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "ediphy-dwild (via GitHub)" <gi...@apache.org> on 2023/08/16 16:13:23 UTC
[GitHub] [kvrocks] ediphy-dwild added a comment to the discussion: Is the mset command atomicity?
GitHub user ediphy-dwild added a comment to the discussion: Is the mset command atomicity?
related clarification question:
in the absence of any failure:
- if a writer performs a single HMSET command
- can any reader observe the existence of the hash before it is fully constructed?
one example of this potential race:
- a writer creates a hash of 200K key values with a single HMSET
- can any reader see that the hash exists, but fail to HGET one of the keys that the writer added/is-still-in-the-process-of-adding to the new hash?
- or can a reader HGET one of the keys but fail to HGET another key - but then try again 'later' and succeed for both keys?
many thanks in advance
GitHub link: https://github.com/apache/kvrocks/discussions/1266#discussioncomment-6742641
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org