Join GitHub today
domain, store/tikv: enable etcd client auto sync #9575
Signed-off-by: disksing firstname.lastname@example.org
What problem does this PR solve?
When all PD nodes are replaced by new PD nodes, etcd clients (used by DDL worker and safepoint syncer) in tidb will lost connection with PD cluster.
What is changed and how it works?
Note: No unit test case included, it will be more suitable to add a integration test in schrodinger later. This bug is kind urgent and the fix is straightforward so I guess we can merge it ahead.
@@ Coverage Diff @@ ## master #9575 +/- ## ========================================== - Coverage 67.3% 67.29% -0.01% ========================================== Files 376 376 Lines 78961 78963 +2 ========================================== - Hits 53144 53139 -5 - Misses 21058 21061 +3 - Partials 4759 4763 +4