Amend HBASE-10213. Spelling fix for method o.a.h.h.replication.regionserver.MetricsSource#incrLogReadInBytes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1554361 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f2f316db1f
commit
0277f56616
|
@ -149,7 +149,7 @@ public class MetricsSource {
|
|||
}
|
||||
|
||||
/** increase the byte number read by source from log file */
|
||||
public void incrLogReadInByes(long readInBytes) {
|
||||
public void incrLogReadInBytes(long readInBytes) {
|
||||
rms.incCounters(logReadInBytesKey, readInBytes);
|
||||
rms.incCounters(SOURCE_LOG_READ_IN_BYTES, readInBytes);
|
||||
}
|
||||
|
|
|
@ -414,7 +414,7 @@ public class ReplicationSource extends Thread
|
|||
break;
|
||||
}
|
||||
}
|
||||
metrics.incrLogReadInByes(this.repLogReader.getPosition() - positionBeforeRead);
|
||||
metrics.incrLogReadInBytes(this.repLogReader.getPosition() - positionBeforeRead);
|
||||
if (currentWALisBeingWrittenTo) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue