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 (#1704)

- Rename WALEntryBatch#getWaEntriesWithSize -> getWalEntriesWithSize
  • Loading branch information
apurtell committed May 14, 2020
1 parent 7e295e7 commit 94f36fd
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 @@ -221,7 +221,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.debug("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 94f36fd

Please sign in to comment.