amita-shukla commented on code in PR #5536:
URL: https://github.com/apache/ozone/pull/5536#discussion_r1381131232


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/snapshot/OMSnapshotDeleteRequest.java:
##########
@@ -161,14 +161,11 @@ public OMClientResponse 
validateAndUpdateCache(OzoneManager ozoneManager,
       if (!snapshotInfo.getSnapshotStatus().equals(

Review Comment:
   earlier, a default case existed for "Unknown snapshot non-active state". 
Though in all valid cases non-active state = deleted state, is it not possible 
to have an invalid value that falls in this category?  



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