Is MSET atomic?
NoraCodes opened this issue · 2 comments
NoraCodes commented
According to the Redis docs:
MSET is atomic, so all given keys are set at once. It is not possible for clients to see that some of the keys were updated while others are unchanged.
Is this true in Pydis?
mikenerone commented
Looks atomic to me. There are no async yields inside the mset()
method (in fact, it's not even a coroutine, so it's impossible to yield).
boramalper commented
I think it's atomic, for the same reason @mikenerone mentioned. =)