Skip to content

Commit 2451c2c

Browse files
committed
HBASE-23231 Addendum remove redundant metrics.clear in ReplicationSource
This is only a problem on master which was introduced when we merge sync replication feature branch back
1 parent 3152d99 commit 2451c2c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,9 +600,6 @@ public void terminate(String reason, Exception cause, boolean clearMetrics, bool
600600
if (this.replicationEndpoint != null) {
601601
this.replicationEndpoint.stop();
602602
}
603-
if (clearMetrics) {
604-
metrics.clear();
605-
}
606603
if (join) {
607604
for (ReplicationSourceShipper worker : workers) {
608605
Threads.shutdown(worker, this.sleepForRetries);

0 commit comments

Comments
 (0)