hemantk-12 commented on code in PR #8123:
URL: https://github.com/apache/ozone/pull/8123#discussion_r2006471841
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/SnapshotDeletingService.java:
##########
@@ -173,13 +173,18 @@ public BackgroundTaskResult call() throws
InterruptedException {
// another.
if (nextSnapshot != null &&
nextSnapshot.getSnapshotStatus() !=
SnapshotInfo.SnapshotStatus.SNAPSHOT_ACTIVE) {
+ LOG.info("Skipping Snapshot Deletion processing for : {}",
snapInfo.getTableKey());
Review Comment:
1. Move line 170 to before line 167.
2. Add a log statement for lines 167-169 with the message `Skipping
Snapshot Deletion processing because the snapshot is not active or DB changes
are not flushed: {}`?
3. Change the message to `Skipping Snapshot Deletion processing for : {}
because the next snapshot is DELETED.`.
--
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]