wchevreuil commented on a change in pull request #3617:
URL: https://github.com/apache/hbase/pull/3617#discussion_r695153629



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
##########
@@ -648,11 +651,35 @@ public Path commitDaughterRegion(final RegionInfo 
regionInfo)
       if (!rename(daughterTmpDir, regionDir)) {
         throw new IOException("Unable to rename " + daughterTmpDir + " to " + 
regionDir);
       }
+      loadRegionFilesIntoStoreTracker(regionDir);
     }
-
     return regionDir;
   }
 
+  private void loadRegionFilesIntoStoreTracker(Path regionDir) throws 
IOException {

Review comment:
       We do have, but this happens at SplitTableRegionProcedure. We can change 
some method signature to expect the list of split files as parameters. Do you 
feel this FS list can cause much of a performance impact here?




-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to