HBASE-6623 [replication] replication metrics value AgeOfLastShippedOp is not set correctly
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1377038 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
07218cb039
commit
2e0e23eb98
|
@ -621,7 +621,7 @@ public class ReplicationSource extends Thread
|
|||
this.totalReplicatedEdits += currentNbEntries;
|
||||
this.metrics.shipBatch(this.currentNbOperations);
|
||||
this.metrics.setAgeOfLastShippedOp(
|
||||
this.entriesArray[this.entriesArray.length-1].getKey().getWriteTime());
|
||||
this.entriesArray[currentNbEntries-1].getKey().getWriteTime());
|
||||
LOG.debug("Replicated in total: " + this.totalReplicatedEdits);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue