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


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/KeyLifecycleService.java:
##########
@@ -686,10 +728,7 @@ private void evaluateKeyAndDirTable(OmBucketInfo bucket, 
long volumeObjId, Table
 
       HashSet<Long> deletedDirSet = new HashSet<>();
       while (!stack.isEmpty()) {
-        if (!shouldRun()) {
-          scanAborted = true;
-          LOG.info("KeyLifecycleService is suspended, disabled, leader not 
ready, or about to restart. " +
-              "Stopping task for bucket {}.", bucketName);
+        if (!shouldContinue(bucketName)) {

Review Comment:
   FSO bucket scan can only keep ongoing for next 5 mins before it save the 
scan status. 



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