saintstack commented on a change in pull request #3596:
URL: https://github.com/apache/hbase/pull/3596#discussion_r695989943
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java
##########
@@ -45,11 +43,18 @@
import org.slf4j.LoggerFactory;
/**
- * Describe a StoreFile (hfile, reference, link)
+ * Describe a StoreFile (hfile, reference, link).
*/
@InterfaceAudience.Private
public class StoreFileInfo {
private static final Logger LOG =
LoggerFactory.getLogger(StoreFileInfo.class);
+ /**
+ * Cached fileStatus for file or if a link or a reference, then the
fileStatus of the referred-to
+ * file. We cache filestatus rather than ask NN each time we need it. We set
it after construction
Review comment:
Thanks. 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]