GitHub user nhancdt2602 added a comment to the discussion: Is lua script atomic execution guaranteed?
@PragmaTwice With `no` option the atomic execution is straightforward for me (due to global lock). For `yes` option, could you briefly describe the mechanism how atomic execution is guaranteed. As I saw in `.conf` comment ` And if it is enabled, EVAL and FCALL can be executed concurrently in multiple worker threads, which can improve scripting performance greatly`, it mentions performance but says nothing about atomic execution. I will be really helpful for us to understand the working mechanism with `yes` option in a high-level to make our architectural decisions solid. GitHub link: https://github.com/apache/kvrocks/discussions/3489#discussioncomment-16947249 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
