Skip to content

Commit

Permalink
Chagne the method getUnderreplicatedFragments to the package private (#…
Browse files Browse the repository at this point in the history
…4174)

---

###Motivation

Allow to override the getUnderreplicatedFragments to change
the customize the behaviour.
  • Loading branch information
zymap authored Jan 10, 2024
1 parent c40f756 commit bdbb5ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ private boolean isLastSegmentOpenAndMissingBookies(LedgerHandle lh) throws BKExc
/**
* Gets the under replicated fragments.
*/
private Set<LedgerFragment> getUnderreplicatedFragments(LedgerHandle lh, Long ledgerVerificationPercentage)
Set<LedgerFragment> getUnderreplicatedFragments(LedgerHandle lh, Long ledgerVerificationPercentage)
throws InterruptedException {
//The data loss fragments is first to repair. If a fragment is data_loss and not_adhering_placement
//at the same time, we only fix data_loss in this time. After fix data_loss, the fragment is still
Expand Down

0 comments on commit bdbb5ec

Please sign in to comment.