Amend HBASE-24350: Extending and Fixing HBaseTable level replication metrics (#1704)
- Rename WALEntryBatch#getWaEntriesWithSize -> getWalEntriesWithSize
This commit is contained in:
parent
7e295e767f
commit
94f36fdb8e
|
@ -221,7 +221,7 @@ public class ReplicationSourceShipper extends Thread {
|
|||
entryBatch.getNbHFiles());
|
||||
source.getSourceMetrics().setAgeOfLastShippedOp(
|
||||
entries.get(entries.size() - 1).getKey().getWriteTime(), walGroupId);
|
||||
source.getSourceMetrics().updateTableLevelMetrics(entryBatch.getWaEntriesWithSize());
|
||||
source.getSourceMetrics().updateTableLevelMetrics(entryBatch.getWalEntriesWithSize());
|
||||
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.debug("Replicated {} entries or {} operations in {} ms",
|
||||
|
|
|
@ -83,7 +83,7 @@ class WALEntryBatch {
|
|||
/**
|
||||
* @return the WAL Entries.
|
||||
*/
|
||||
public List<Pair<Entry, Long>> getWaEntriesWithSize() {
|
||||
public List<Pair<Entry, Long>> getWalEntriesWithSize() {
|
||||
return walEntriesWithSize;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue