Commit c9a2400
update node_controller.go
Reproduction steps:
1. Start mysql-operator.
2. Start the mysql instance.
3. Wait for all mysql instances to run successfully.
4. Close mysql-operator (to simulate network failure, node down, etc.).
5. Restart the node containing the mysql instance.
6. The mysql instances on these nodes will start automatically, but since init will set configfure to 0.
7. Wait for all these nodes to stop changing.
8. Start mysql-operator, which will not automatically repair the current cluster because it is listening to the updated pod.
9. and the mysql cluster is in an unhealthy state due to configfure=0.1 parent bf0e383 commit c9a2400
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | 123 | | |
125 | | - | |
| 124 | + | |
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
| |||
0 commit comments