guluo2016 commented on code in PR #7071:
URL: https://github.com/apache/hbase/pull/7071#discussion_r2180171975


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/master/ReplicationLogCleaner.java:
##########
@@ -271,4 +283,13 @@ public void stop(String why) {
   public boolean isStopped() {
     return this.stopped;
   }
+
+  /**
+   * Check if asyncClusterConnection is closed
+   * @return true if asyncClusterConnection is not null and is closed, false 
otherwise
+   */
+  private boolean isAsyncClusterConnectionClosed() {
+    AsyncClusterConnection asyncClusterConnection = 
masterService.getAsyncClusterConnection();
+    return asyncClusterConnection != null && asyncClusterConnection.isClosed();

Review Comment:
   A bit busy now, I'll recheck the code this weekend.
   Thanks for your review



-- 
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]

Reply via email to