You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "HughPenn (via GitHub)" <gi...@apache.org> on 2025/04/28 08:12:01 UTC

[I] The benchmark EVAL command triggers a master-slave failover [kvrocks]

HughPenn opened a new issue, #2908:
URL: https://github.com/apache/kvrocks/issues/2908

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Version
   
   kvrocks version 2.11.1
   kvrocks-controllerv 1.1.0
   
   os:TencentOS Server 2.4 (tkernel4)
   
   ### Minimal reproduce step
   
   The benchmark EVAL command triggers a master-slave failover. Kvctl-server error log “fail to probe the node”.
   The bug occurs every time
   
   <img width="1639" alt="Image" src="https://github.com/user-attachments/assets/54d99c69-b651-416e-80e9-3cfdbf4483d8" />
   
   <img width="1509" alt="Image" src="https://github.com/user-attachments/assets/e2464aa6-f0e0-49f6-b0e6-fc49f51ca552" />
   
   ### What did you expect to see?
   
   no failover
   
   ### What did you see instead?
   
   no failover
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The benchmark EVAL command triggers a master-slave failover [kvrocks]

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
PragmaTwice commented on issue #2908:
URL: https://github.com/apache/kvrocks/issues/2908#issuecomment-3247523644

   Closed. Feel free to reopen.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The benchmark EVAL command triggers a master-slave failover [kvrocks]

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
PragmaTwice commented on issue #2908:
URL: https://github.com/apache/kvrocks/issues/2908#issuecomment-3243682876

   In 2.12.1 and 2.13.0, the EVAL command is NOT exclusive any more. And this problem should disappear.
   
   In the future versions, we will provide an option `lua-strict-key-accessing`, and the exclusiveness of EVAL is decided by this option.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The benchmark EVAL command triggers a master-slave failover [kvrocks]

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
PragmaTwice closed issue #2908: The benchmark EVAL command triggers a master-slave failover
URL: https://github.com/apache/kvrocks/issues/2908


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The benchmark EVAL command triggers a master-slave failover [kvrocks]

Posted by "yuzegao (via GitHub)" <gi...@apache.org>.
yuzegao commented on issue #2908:
URL: https://github.com/apache/kvrocks/issues/2908#issuecomment-3243656711

   When the eval command is executed, it will block the controller detection command cluster info, which seems unreasonable.
   Distinguish read-only commands for cluster management and allow execution of corresponding read-only commands during command execution?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The benchmark EVAL command triggers a master-slave failover [kvrocks]

Posted by "PragmaTwice (via GitHub)" <gi...@apache.org>.
PragmaTwice commented on issue #2908:
URL: https://github.com/apache/kvrocks/issues/2908#issuecomment-2889807961

   You can try version 2.12.1 which has a more performant EVAL command.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The benchmark EVAL command triggers a master-slave failover [kvrocks]

Posted by "twoholes (via GitHub)" <gi...@apache.org>.
twoholes commented on issue #2908:
URL: https://github.com/apache/kvrocks/issues/2908#issuecomment-2889786285

   eval 命令执行时是排他的,执行时间长的时候,controller的探测命令会超时;导致切换。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] The benchmark EVAL command triggers a master-slave failover [kvrocks]

Posted by "yuzegao (via GitHub)" <gi...@apache.org>.
yuzegao commented on issue #2908:
URL: https://github.com/apache/kvrocks/issues/2908#issuecomment-3247508573

   @PragmaTwice  Thanks for replay


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org