smengcl commented on code in PR #4015:
URL: https://github.com/apache/ozone/pull/4015#discussion_r1041489067
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/exceptions/OMException.java:
##########
@@ -259,6 +258,8 @@ public enum ResultCodes {
FEATURE_NOT_ENABLED,
- INVALID_SNAPSHOT_ERROR
+ INVALID_SNAPSHOT_ERROR,
+
+ BUCKET_SNAPSHOT_EXISTS,
Review Comment:
Maybe we can have a more generic name for this? Like `SNAPSHOT_EXISTS`,
since we would have snapshot enabled on the volume level as well. Or we can
worry about this later.
--
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]