You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "George Jahad (Jira)" <ji...@apache.org> on 2023/03/09 01:45:00 UTC
[jira] [Commented] (HDDS-7514) [snapshot] Snapshot LS API lists wrong value for snapshotPath
[ https://issues.apache.org/jira/browse/HDDS-7514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17698138#comment-17698138 ]
George Jahad commented on HDDS-7514:
------------------------------------
Seems to work now. Closing:
{{ozone sh snapshot ls testgbj2/bucket1}}
{{[ {}}
{{ "volumeName" : "testgbj2",}}
{{ "bucketName" : "bucket1",}}
{{ "name" : "snapshot1",}}
{{ "creationTime" : 1678326207711,}}
{{ "snapshotStatus" : "SNAPSHOT_ACTIVE",}}
{{ "snapshotID" : "dba45259-b228-47b6-8f08-d83824ee93e8",}}
{{ "snapshotPath" : "testgbj2/bucket1",}}
{{ "checkpointDir" : "-dba45259-b228-47b6-8f08-d83824ee93e8"}}
{{} ]}}
> [snapshot] Snapshot LS API lists wrong value for snapshotPath
> -------------------------------------------------------------
>
> Key: HDDS-7514
> URL: https://issues.apache.org/jira/browse/HDDS-7514
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Manager
> Affects Versions: 1.3.0
> Reporter: Soumitra Sulav
> Priority: Major
> Labels: ozone-snapshot
>
> snapshotID and snapshotPath are populated with same value on ls snapshot.
> Path should rather be updated correctly.
> {code:java}
> [root@ozs7b-2 ~]# ozone sh snapshot ls eng/data
> [ {
> "metadata" : { },
> "volumeName" : "eng",
> "bucketName" : "data",
> "name" : "snap1",
> "creationTime" : 1668133769448,
> "snapshotStatus" : "SNAPSHOT_ACTIVE",
> "snapshotID" : "0ff0a450-8238-49fc-83e6-d672794a5b36",
> "snapshotPath" : "0ff0a450-8238-49fc-83e6-d672794a5b36"
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org