shahrs87 commented on code in PR #5521:
URL: https://github.com/apache/hbase/pull/5521#discussion_r1393067596
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java:
##########
@@ -259,10 +259,11 @@ private boolean readNextEntryAndRecordReaderPosition()
throws IOException {
Entry readEntry = reader.next();
long readerPos = reader.getPosition();
OptionalLong fileLength;
- if (logQueue.getQueueSize(walGroupId) > 1) {
+ if (logQueue.getQueueSize(walGroupId) > 2) {
Review Comment:
`TestBasicWALEntryStreamFSHLog#testCleanClosedWALs` is failing in branch-2.5
with the original PR https://github.com/apache/hbase/pull/5505
This test is not failing for master branch. There is lot of code refactor
in master/branch-2 compared to branch-2.5.
@Apache9 @sunhelly Can you please review? Thank you !
--
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]