aloyszhang commented on a change in pull request #2887:
URL: https://github.com/apache/bookkeeper/pull/2887#discussion_r750834619
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieImpl.java
##########
@@ -715,13 +716,23 @@ public BookieImpl(ServerConfiguration conf, StatsLogger
statsLogger,
}
}
- // instantiate the journals
journals = Lists.newArrayList();
- for (int i = 0; i < journalDirectories.size(); i++) {
- journals.add(new Journal(i, journalDirectories.get(i),
- conf, ledgerDirsManager, statsLogger.scope(JOURNAL_SCOPE),
allocator));
+ if (listenJournalAlive) {
Review comment:
fixed
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]