athanatos commented on a change in pull request #932: ISSUE #931,#907: Add
option to track task execution time
URL: https://github.com/apache/bookkeeper/pull/932#discussion_r159490212
##########
File path:
bookkeeper-server/src/test/java/org/apache/bookkeeper/test/BookKeeperClusterTestCase.java
##########
@@ -480,16 +485,14 @@ public void restartBookie(BookieSocketAddress addr)
throws Exception {
int toRemoveIndex = 0;
for (BookieServer server : bs) {
if (server.getLocalAddress().equals(addr)) {
- server.shutdown();
toRemove = server;
break;
}
++toRemoveIndex;
}
if (toRemove != null) {
- stopAutoRecoveryService(toRemove);
Review comment:
stopAutoRecoveryService gets called as part of of killBookie. I refactored
it a little to make the bs/bsLoggers state maintenance slightly less error
prone.
----------------------------------------------------------------
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