GitHub user git-hulk added a comment to the discussion: Does Kvrocks guarantee 
atomicity property in case of crash?

@nhancdt2602 Thanks for raising this.

> After Kvrocks restarts, my expectation is that A will still be 10 because the 
> WriteBatch was never committed.

No indeed. The #1287 is only applied in transaction mode, so it's NOT 
crash-atomic in Lua.

GitHub link: 
https://github.com/apache/kvrocks/discussions/3546#discussioncomment-17547870

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to