aswinshakil commented on code in PR #4571:
URL: https://github.com/apache/ozone/pull/4571#discussion_r1199180202
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotUtils.java:
##########
@@ -96,42 +95,18 @@ public static void dropColumnFamilyHandle(
public static void checkSnapshotActive(OzoneManager ozoneManager,
String snapshotTableKey)
throws IOException {
- checkSnapshotActive(getSnapshotInfo(ozoneManager, snapshotTableKey));
+ checkSnapshotActive(getSnapshotInfo(ozoneManager, snapshotTableKey),
false);
}
- public static void checkSnapshotActive(SnapshotInfo snapInfo)
+ public static void checkSnapshotActive(SnapshotInfo snapInfo,
+ boolean override)
Review Comment:
I initially thought about this, but it looks like we should be changing in
many places. I kept on getting Exceptions from multiple request.
--
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]