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
This commit is contained in:
parent
3152d9981b
commit
2451c2c532
|
@ -600,9 +600,6 @@ public class ReplicationSource implements ReplicationSourceInterface {
|
|||
if (this.replicationEndpoint != null) {
|
||||
this.replicationEndpoint.stop();
|
||||
}
|
||||
if (clearMetrics) {
|
||||
metrics.clear();
|
||||
}
|
||||
if (join) {
|
||||
for (ReplicationSourceShipper worker : workers) {
|
||||
Threads.shutdown(worker, this.sleepForRetries);
|
||||
|
|
Loading…
Reference in New Issue