GitHub user git-hulk added a comment to the discussion: About Lua atomicity in 
Kvrocks

> I’m curious about the design choices behind this behavior. Why wasn't 
> RocksDB's transaction feature used to enforce full atomicity? Was this a 
> performance optimization, or were there other trade-offs?

@yp963 It's not a performance consideration, because read-write Lua script is a 
single-thread mode in Kvrocks. We could enhance this by enabling the 
transaction mode for Lua like `MULTI-EXEC` command as well.

GitHub link: 
https://github.com/apache/kvrocks/discussions/3051#discussioncomment-13742292

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

Reply via email to