Skip to content

Commit

Permalink
HBASE-28669 After one RegionServer restarts, another RegionServer lea…
Browse files Browse the repository at this point in the history
…ks a connection to ZooKeeper (apache#6147)

Co-authored-by: rodenli <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
  • Loading branch information
wdzaslzy and rodenli authored Sep 4, 2024
1 parent 63b26b1 commit 73651dc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ protected RecoveredReplicationSourceShipper createNewShipper(String walGroupId,
() -> {
if (workerThreads.isEmpty()) {
this.getSourceMetrics().clear();
if (this.getReplicationEndpoint() != null) {
this.getReplicationEndpoint().stop();
}
manager.finishRecoveredSource(this);
}
});
Expand Down

0 comments on commit 73651dc

Please sign in to comment.