GitHub user nhancdt2602 created a discussion: Is lua script atomic execution guaranteed?
Hey team, I have wondered about the behavior of Lua script in term of atomic execution. In Redis database, atomic execution is assured by nature because Redis is the single-threaded engine. While KVRocks does not employ the single-threaded model, is the atomic execution guaranteed? P/s: By saying atomic operation, I mean there is no interleaving during script execution. Meaning that, all check-then-act operations in Lua script do not undergo race condition. GitHub link: https://github.com/apache/kvrocks/discussions/3489 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
