radondb-mysql-kubernetes icon indicating copy to clipboard operation
radondb-mysql-kubernetes copied to clipboard

mysqlcluster: fix the bug about io hang xenon no switch leader #364

Open acekingke opened this issue 3 years ago • 2 comments

What type of PR is this?

/enhancement

Which issue(s) this PR fixes?

Fixes #364

What this PR does?

Summary:

Special notes for your reviewer?

acekingke avatar Jan 13 '22 08:01 acekingke

@qianfen2021

runkecheng avatar May 20 '22 06:05 runkecheng

I use Chaos mesh to simulate IO delay, Leader does not switch

kind: IOChaos
apiVersion: chaos-mesh.org/v1alpha1
metadata:
  namespace: default
  name: io-delay
  annotations:
    experiment.chaos-mesh.org/pause: 'false'
spec:
  selector:
    namespaces:
      - default
    labelSelectors:
      role: LEADER
  mode: one
  action: latency
  delay: 60s
  percent: 100
  volumePath: /var/lib/mysql

runkecheng avatar May 24 '22 07:05 runkecheng