hiping-tech commented on code in PR #5536:
URL: https://github.com/apache/hbase/pull/5536#discussion_r1402999477
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/master/ReplicationLogCleaner.java:
##########
@@ -192,6 +192,14 @@ public Iterable<FileStatus>
getDeletableFiles(Iterable<FileStatus> files) {
if (this.getConf() == null) {
return files;
}
+ try {
+ if (!rpm.getQueueStorage().hasData()) {
+ return files;
+ }
+ } catch (ReplicationException e) {
+ LOG.error("Error occurred while executing queueStorage.hasData()", e);
+ return files;
Review Comment:
Thank you very much for your suggestion. It has been modified
--
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]