Skip to content

Commit

Permalink
chore: fix code style and typo in DataIntegrityCheckImpl (#4495)
Browse files Browse the repository at this point in the history
Co-authored-by: xiangying <[email protected]>
  • Loading branch information
liangyepianzhou and xiangying committed Aug 31, 2024
1 parent a1a7c3a commit 9e25d31
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ private CompletableFuture<Void> processPreBoot(long ledgerId, LedgerMetadata met
static class LedgerResult {
enum State {
MISSING, ERROR, OK
};
}

static LedgerResult missing(long ledgerId) {
return new LedgerResult(State.MISSING, ledgerId, null, null);
Expand Down Expand Up @@ -399,7 +399,7 @@ CompletableFuture<Set<LedgerResult>> checkAndRecoverLedgers(Map<Long, LedgerMeta

/**
* Run ledger recovery on all a ledger if it has been marked as in limbo.
* @return a maybe with the most up to date metadata we have for he ledger.
* @return a maybe with the most up-to-date metadata we have for the ledger.
* If the ledger has been deleted, returns empty.
*/
Maybe<LedgerMetadata> recoverLedgerIfInLimbo(long ledgerId, LedgerMetadata origMetadata,
Expand Down

0 comments on commit 9e25d31

Please sign in to comment.