sreejasahithi commented on code in PR #8539:
URL: https://github.com/apache/ozone/pull/8539#discussion_r2120939878


##########
hadoop-ozone/freon/src/main/java/org/apache/hadoop/ozone/freon/RandomKeyGenerator.java:
##########
@@ -646,6 +654,17 @@ long getUnsuccessfulValidationCount() {
     return validateWrites ? writeValidationFailureCount.get() : 0;
   }
 
+  /**
+   * Returns the bucket for the given bucket number.
+   *
+   * @param bucketNumber bucket index
+   * @return corresponding OzoneBucket instance
+   */
+  @VisibleForTesting
+  OzoneBucket getBucketForTesting(Integer bucketNumber) {
+    return waitUntilAddedToMap(buckets, bucketNumber);
+  }

Review Comment:
   Right , but I just thought it might not be correct to change the access 
modifier of the existing method.



-- 
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...@ozone.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to