Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Pod Label do not support INVALID/IDLE/LEARNER/STOPPED/UNKNOW #330

Closed
acekingke opened this issue Dec 8, 2021 · 2 comments · Fixed by #334
Closed

[bug] Pod Label do not support INVALID/IDLE/LEARNER/STOPPED/UNKNOW #330

acekingke opened this issue Dec 8, 2021 · 2 comments · Fixed by #334
Labels
bug Something isn't working
Milestone

Comments

@acekingke
Copy link
Contributor

acekingke commented Dec 8, 2021

Describe the problem

After force kill Xenon container in pod, switch leader multi times, Some Pod raft status is INVALID, but the pod is still follower , and in the follower service list.

To Reproduce

  1. Force kill Xenon container in pod, switch leader multi times
  2. at same time , sysbench pressing it

use shell to do this:
sysbench:
use yaml file:

apiVersion: v1
kind: Pod
metadata:
  labels:
    app: sysbench
  name: sysbench
spec:
  containers:
  - command:
    - bash 
    - -c 
    - -- 
    args: ["while true; do sleep 30; done;"]
    image: severalnines/sysbench
    name: sysbench
  restartPolicy: Never

run the sysbench pod ,in command line
run shell

while true ; do \
sysbench \
    --db-driver=mysql \
    --report-interval=2 \
    --mysql-table-engine=innodb \
    --oltp-table-size=1000000 \
    --oltp-tables-count=64 \
    --threads=16 \
    --time=99999 \
    --mysql-host=sample-leader \
    --mysql-port=3306 \
    --mysql-user=sbtest \
    --mysql-password=password \
    /usr/share/sysbench/tests/include/oltp_legacy/oltp.lua \
    run ;\
done

during the sysbench
run shell to kill xenon

kubectl exec -it svc/sample-leader -c xenon -- pkill xenon

Expected behavior

Environment:

  • RadonDB MySQL version: operator v2.1.1
@acekingke acekingke added the bug Something isn't working label Dec 8, 2021
@acekingke
Copy link
Contributor Author

@qianfen2021 @runkecheng

@acekingke
Copy link
Contributor Author

image

@acekingke acekingke added this to the v2.1.2 milestone Dec 8, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 9, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 9, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 9, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 9, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 9, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 9, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 9, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 13, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 27, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 27, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 27, 2021
runkecheng added a commit to runkecheng/radondb-mysql-kubernetes that referenced this issue Dec 27, 2021
zhl003 pushed a commit to zhl003/radondb-mysql-kubernetes that referenced this issue Aug 17, 2022
zhl003 pushed a commit to zhl003/radondb-mysql-kubernetes that referenced this issue Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant