sadanand48 commented on code in PR #4901:
URL: https://github.com/apache/ozone/pull/4901#discussion_r1236877277


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueHandler.java:
##########
@@ -1363,4 +1369,12 @@ private void deleteInternal(Container container, boolean 
force)
     container.getContainerData().setState(State.DELETED);
     sendICR(container);
   }
+
+  private void triggerVolumeScanAndThrowException(Container container,

Review Comment:
   
[StorageVolumeChecker](https://github.com/apache/ozone/blob/7a73a7a37721f3f793fe69becf5fad6f22b3a43e/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/StorageVolumeChecker.java#L258)
 handles this part , It schedules scans for these volumes and if this is called 
multiple times for the same volume then it rejects the call as there is already 
a scan scheduled for that volume.



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