priyeshkaratha commented on code in PR #12029:
URL: https://github.com/apache/ozone/pull/12029#discussion_r4546621233


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/bucket/OMBucketDeleteRequest.java:
##########
@@ -170,6 +171,8 @@ public OMClientResponse validateAndUpdateCache(OzoneManager 
ozoneManager, Execut
       omMetadataManager.getLifecycleConfigurationTable().addCacheEntry(
           new CacheKey<>(bucketKey),
           CacheValue.get(transactionLogIndex));
+      omMetadataManager.getLifecycleScanStateTable().addCacheEntry(

Review Comment:
   An in-flight SaveLifecycleScanState for this bucket can recreate the row 
after the bucket is deleted. The fix in OMLifecycleSaveScanStateRequest would 
cover both paths. What you think?



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