reddycharan commented on a change in pull request #1100: Improve decomission
test
URL: https://github.com/apache/bookkeeper/pull/1100#discussion_r165777075
##########
File path:
bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieDecommissionTest.java
##########
@@ -44,14 +46,17 @@
public BookieDecommissionTest() {
super(NUM_OF_BOOKIES, 480);
- baseConf.setOpenLedgerRereplicationGracePeriod(String.valueOf(30000));
- setAutoRecoveryEnabled(true);
+ baseConf.setOpenLedgerRereplicationGracePeriod(100);
+ setAutoRecoveryEnabled(false);
Review comment:
ok..had private chat with Sijie.
https://github.com/apache/bookkeeper/commit/6fcabfc80c5bd6cdfa9252cdfc4ed209cc0620a6
change has decoupled ReplicationWorker and Bookie completely, and now there is
no "targetBookie" factor in ReplicationWorker. So I'm good with this change. On
a different note, ReplicationWorker.java javadoc is not updated with that
change and it is still using "targetBookie" in its comments.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services