NihalJain commented on code in PR #5109:
URL: https://github.com/apache/hbase/pull/5109#discussion_r1139295396
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotDescriptionUtils.java:
##########
@@ -465,4 +465,18 @@ public ListMultimap<String, UserPermission> run() throws
Exception {
return snapshot.toBuilder()
.setUsersAndPermissions(ShadedAccessControlUtil.toUserTablePermissions(perms)).build();
}
+
+ /**
+ * Method to check whether TTL has expired for specified snapshot creation
time and snapshot ttl.
+ * NOTE: For backward compatibility (after the patch deployment on HMaster),
any snapshot with ttl
+ * 0 is to be considered as snapshot to keep FOREVER. Default ttl value
specified by
+ * {@link HConstants.DEFAULT_SNAPSHOT_TTL}
Review Comment:
Ah my bad, let me fix
--
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]