gvprathyusha6 commented on code in PR #7309:
URL: https://github.com/apache/hbase/pull/7309#discussion_r2820371901


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/storefiletracker/StoreFileTrackerFactory.java:
##########
@@ -118,7 +119,15 @@ public static Class<? extends StoreFileTracker> 
getTrackerClass(String trackerNa
 
   public static StoreFileTracker create(Configuration conf, boolean 
isPrimaryReplica,
     StoreContext ctx) {
-    Class<? extends StoreFileTracker> tracker = getTrackerClass(conf);
+    Class<? extends StoreFileTracker> tracker;
+    if (
+      ctx != null && ctx.getRegionInfo().getEncodedName()
+        .equals(MobUtils.getMobRegionInfo(ctx.getTableName()).getEncodedName())

Review Comment:
   Context should have RegionInfo always right?



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