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

[bug] when storage size shrink, and change replicas, It will reconcile fail forever.

Open acekingke opened this issue 2 years ago • 2 comments

Describe the problem

To Reproduce

  1. set replicas to 2 and storage size to 50Gi
  2. then set replica to 3 and storage size to 20Gi
  3. it will still at replica 2 , and cluster is nerver ready image

image

Expected behavior

shrink storage size is not allowed, but the reconcile should be successful.

Environment:

  • RadonDB MySQL version:

acekingke avatar Apr 06 '22 09:04 acekingke

ACK.

andyli029 avatar Apr 06 '22 09:04 andyli029

fixed by https://github.com/radondb/radondb-mysql-kubernetes/pull/487

andyli029 avatar May 24 '22 01:05 andyli029