This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new bdbb5ec4a6 Chagne the method getUnderreplicatedFragments to the 
package private (#4174)
bdbb5ec4a6 is described below

commit bdbb5ec4a69ef18db871f9ab2eb82b91cbb66099
Author: Yong Zhang <zhangyong1025...@gmail.com>
AuthorDate: Thu Jan 11 03:37:05 2024 +0800

    Chagne the method getUnderreplicatedFragments to the package private (#4174)
    
    ---
    
    ###Motivation
    
    Allow to override the getUnderreplicatedFragments to change
    the customize the behaviour.
---
 .../main/java/org/apache/bookkeeper/replication/ReplicationWorker.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/ReplicationWorker.java
 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/ReplicationWorker.java
index f22231c567..cf1f2f2f59 100644
--- 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/ReplicationWorker.java
+++ 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/ReplicationWorker.java
@@ -600,7 +600,7 @@ public class ReplicationWorker implements Runnable {
     /**
      * 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

Reply via email to