Skip to content

Commit

Permalink
redo of apache#3869 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlg99 authored Mar 17, 2023
1 parent 69f3070 commit 0972153
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,14 @@ public void runWithFlags(boolean force, boolean suspendMajor, boolean suspendMin
// Recover and clean up previous state if using transactional compaction
compactor.cleanUpAndRecover();

// Extract all of the ledger ID's that comprise all of the entry logs
// this is used in extractMetaFromEntryLogs to calculate the usage of entry log
doGcLedgers();

// Extract all of the ledger ID's that comprise all of the entry logs
// (except for the current new one which is still being written to).
entryLogMetaMap = extractMetaFromEntryLogs(entryLogMetaMap);

// gc inactive/deleted ledgers
doGcLedgers();

// gc entry logs
doGcEntryLogs();

Expand Down

0 comments on commit 0972153

Please sign in to comment.