smengcl commented on PR #4175:
URL: https://github.com/apache/ozone/pull/4175#issuecomment-1405625067
> With the snapshot delete cli command is it possible to indicate to the
user the amount of space that will be freed with the operation? If not here,
then through another method.
Hi Neil, we do have the snapshot disk usage in consideration in HDDS-7744
and has been detailed in the design doc.
> ```
> $ ozone sh snapshot list /vol1/buck1
> [ {
> "volumeName" : "vol1",
> "bucketName" : "buck1",
> "name" : "snap1",
> "creationTime" : 1673583279047,
> "snapshotStatus" : "SNAPSHOT_DELETED",
> "snapshotID" : "08f640e3-95db-4596-9d5f-a47cb7272329",
> "snapshotPath" : "vol1/buck1",
> "checkpointDir" : "-08f640e3-95db-4596-9d5f-a47cb7272329"
> } ]
> ```
>
> In the example provided, after executing the delete, listing the snapshots
(shoiwn above) for the bucket shows the "SNAPSHOT_DELETED" state. With the
current example it appears that listing snapshots for the bucket always shows a
snapshot in deleted state. We expect it to be removed from the listing at some
point? After garbage collection?
It will be cleaned up and removed by `SnapshotDeletingTask` later, being
implemented in HDDS-7740.
--
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]