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
@@ -128,6 +128,8 @@ public class HBaseInterClusterReplicationEndpoint extends HBaseReplicationEndpoi
128
128
privatebooleandropOnDeletedTables;
129
129
privatebooleandropOnDeletedColumnFamilies;
130
130
privatebooleanisSerial = false;
131
+
//Initialising as 0 to guarantee at least one logging message
132
+
privatelonglastSinkFetchTime = 0;
131
133
132
134
/*
133
135
* Some implementations of HBaseInterClusterReplicationEndpoint may require instantiating
@@ -518,8 +520,14 @@ public boolean replicate(ReplicateContext replicateContext) {
518
520
519
521
intnumSinks = replicationSinkMgr.getNumSinks();
520
522
if (numSinks == 0) {
521
-
LOG.warn("{} No replication sinks found, returning without replicating. "
522
-
+ "The source should retry with the same set of edits.", logPeerId());
0 commit comments