You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2022/04/22 06:40:27 UTC

[GitHub] [bookkeeper] dlg99 commented on a diff in pull request #3239: ISSUE 3220: Autorecovery does not process underreplicated empty ledgers

dlg99 commented on code in PR #3239:
URL: https://github.com/apache/bookkeeper/pull/3239#discussion_r855811555


##########
bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieDecommissionTest.java:
##########
@@ -130,11 +144,16 @@ public void testDecommissionForLedgersWithMultipleSegmentsAndNotWriteClosed() th
             lh4.addEntry(j, "data".getBytes());
         }
 
+        // avoiding autorecovery fencing the ledger
+        servers.forEach(srv -> srv.stopAutoRecovery());

Review Comment:
   it does wait.
   I reduced openLedgerRereplicationGracePeriod, thus autorecovery may fence the ledger and now the test has to stop/start it to avoid flakiness in this case (add to the ledger to force ensemble change)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org