ChenSammi commented on code in PR #11912:
URL: https://github.com/apache/ozone/pull/11912#discussion_r4468062615


##########
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/service/TestKeyLifecycleService.java:
##########
@@ -478,8 +470,8 @@ void testPeriodicStateSave(BucketLayout bucketLayout) 
throws Exception {
 
         String bucketKey = metadataManager.getBucketKey(volumeName, 
bucketName);
 
-        if (stateSaveInternal == -1) {
-          // With 5 keys and stateSaveIntervalMs = -1, it should save on every 
key iteration.
+        if (stateSaveInternal == 1) {

Review Comment:
   Here the comment maxKeysProcessedPerState and value check stateSaveInternal 
doesn't match. 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to