petersomogyi commented on a change in pull request #371: HBASE-22648 : 
Introducing Snapshot TTL
URL: https://github.com/apache/hbase/pull/371#discussion_r303588110
 
 

 ##########
 File path: hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
 ##########
 @@ -1445,6 +1445,9 @@
       "hbase.util.default.lossycounting.errorrate";
   public static final String NOT_IMPLEMENTED = "Not implemented";
 
+  // Default Snapshot TTL - 30 days (good enough?)
+  public static final long DEFAULT_SNAPSHOT_TTL = 24 * 3600 * 30;
 
 Review comment:
   I definitely prefer this version rather than fixed 30 days TTL.
   
   What do you think about having a config parameter e.g. 
`hbase.master.snapshot.ttl.default` with value 0 or -1 which means TTL FOREVER. 
Users can change it 30 days if that is the preferred value for their use case. 
With this we keep compatibility and users could specify default snapshot TTL 
based on their needs.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to