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


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactSplit.java:
##########
@@ -90,6 +91,8 @@ public class CompactSplit implements CompactionRequester, 
PropagatingConfigurati
   private volatile ThreadPoolExecutor longCompactions;
   private volatile ThreadPoolExecutor shortCompactions;
   private volatile ThreadPoolExecutor splits;
+  // Used in unit testing
+  private int splitCounter;

Review Comment:
   Is it possible to not introduce field in normal code which is only used for 
testing?



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