hgromer commented on code in PR #8611:
URL: https://github.com/apache/hbase/pull/8611#discussion_r3969444622
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java:
##########
@@ -1080,11 +1083,9 @@ public void onEvent(final RingBufferTruck truck, final
long sequence, boolean en
entry.release();
}
} else {
- // What is this if not an append or sync. Fail all up to this!!!
- cleanupOutstandingSyncsOnException(sequence,
- new IllegalStateException("Neither append nor sync"));
- // Return to keep processing.
- return;
Review Comment:
Should we keep the `return` here? I'm pretty sure falling through isn't
problematic, but it might be cleaner/easier to reason about if we simply
returned here.
--
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]