You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HBaseInterClusterReplicationEndpoint.java
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,8 @@ public class HBaseInterClusterReplicationEndpoint extends HBaseReplicationEndpoi
127
127
privatebooleandropOnDeletedTables;
128
128
privatebooleandropOnDeletedColumnFamilies;
129
129
privatebooleanisSerial = false;
130
+
//Initialising as 0 to guarantee at least one logging message
131
+
privatelonglastSinkFetchTime = 0;
130
132
131
133
/*
132
134
* Some implementations of HBaseInterClusterReplicationEndpoint may require instantiate different
@@ -513,8 +515,14 @@ public boolean replicate(ReplicateContext replicateContext) {
513
515
514
516
intnumSinks = replicationSinkMgr.getNumSinks();
515
517
if (numSinks == 0) {
516
-
LOG.warn("{} No replication sinks found, returning without replicating. "
517
-
+ "The source should retry with the same set of edits.", logPeerId());
0 commit comments