Apache9 commented on code in PR #5020:
URL: https://github.com/apache/hbase/pull/5020#discussion_r1102442828


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java:
##########
@@ -97,6 +98,8 @@ Collection<String> filesUnderSnapshot(final FileSystem fs, 
final Path snapshotDi
   private ImmutableMap<String, SnapshotDirectoryInfo> snapshots = 
ImmutableMap.of();
   private final Timer refreshTimer;
 
+  private static final int LOCK_TIMEOUT_MS = 30000;

Review Comment:
   Should we make it configurable? Just asking, I'm neutral on whether to 
introduce a configuration.



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