saintstack commented on a change in pull request #958: HBASE-23584 : Descrease
rpc getFileStatus count when open a storefile
URL: https://github.com/apache/hbase/pull/958#discussion_r361073332
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileInfo.java
##########
@@ -51,6 +51,7 @@
public class StoreFileInfo {
private static final Logger LOG =
LoggerFactory.getLogger(StoreFileInfo.class);
+ private FileStatus localStatus;
Review comment:
Does it need to be volatile? Will StoreFileInfo be accessed by many threads?
Can it be final/created on construction?
----------------------------------------------------------------
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