1458451310 commented on code in PR #5954:
URL: https://github.com/apache/hbase/pull/5954#discussion_r1647527664


##########
hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/FSReplicationPeerStorage.java:
##########
@@ -227,6 +227,16 @@ public ReplicationPeerConfig getPeerConfig(String peerId) 
throws ReplicationExce
     }
   }
 
+  @Override
+  public long getPeerCreateTime(String peerId) throws ReplicationException {
+    Path peerDir = getPeerDir(peerId);
+    try {
+      return fs.getFileStatus(peerDir).getModificationTime();
+    } catch (IOException e) {

Review Comment:
   it's ok



-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to