Sunny-Island commented on a change in pull request #2742:
URL: https://github.com/apache/bookkeeper/pull/2742#discussion_r697961524
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/JournalChannel.java
##########
@@ -180,8 +191,7 @@ private JournalChannel(File journalDirectory, long logId,
nextPrealloc = this.preAllocSize;
fc.write(zeros, nextPrealloc - journalAlignSize);
} else { // open an existing file
- randomAccessFile = new RandomAccessFile(fn, "r");
- fc = openFileChannel(randomAccessFile);
Review comment:
It is still used by some test.
--
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]