Skip to content

Commit

Permalink
Amend HBASE-24350: Extending and Fixing HBaseTable level replication …
Browse files Browse the repository at this point in the history
…metrics (apache#1704)

- Rename WALEntryBatch#getWaEntriesWithSize -> getWalEntriesWithSize

(cherry picked from commit a93d94c)
  • Loading branch information
apurtell authored and tamasadami committed Sep 9, 2020
1 parent b63a75c commit ea69bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private void shipEdits(WALEntryBatch entryBatch) {
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.trace("Replicated {} entries or {} operations in {} ms",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public List<Entry> getWalEntries() {
/**
* @return the WAL Entries.
*/
public List<Pair<Entry, Long>> getWaEntriesWithSize() {
public List<Pair<Entry, Long>> getWalEntriesWithSize() {
return walEntriesWithSize;
}

Expand Down

0 comments on commit ea69bcf

Please sign in to comment.