Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9396

[snapshot] Bucket info/list should have a property showing whether it has snapshots or not

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Ozone CLI, Snapshot

    Description

      Bucket info/list should have a property showing whether it has snapshots or not

      Bucket info -

      [root@quasar-ihzxuo-1 ~]# ozone sh bucket ls vol-4mez4 --has-snapshot
      [ {
        "metadata" : { },
        "volumeName" : "vol-4mez4",
        "name" : "buck1",
        "storageType" : "DISK",
        "versioning" : false,
        "usedBytes" : 0,
        "usedNamespace" : 0,
        "creationTime" : "2023-10-06T06:43:07.174Z",
        "modificationTime" : "2023-10-06T06:43:07.174Z",
        "sourcePathExist" : true,
        "quotaInBytes" : -1,
        "quotaInNamespace" : -1,
        "bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
        "owner" : "om",
        "link" : false
      } ]
      [root@quasar-ihzxuo-1 ~]# ozone sh bucket info vol-4mez4/buck1
      {
        "metadata" : { },
        "volumeName" : "vol-4mez4",
        "name" : "buck1",
        "storageType" : "DISK",
        "versioning" : false,
        "usedBytes" : 0,
        "usedNamespace" : 0,
        "creationTime" : "2023-10-06T06:43:07.174Z",
        "modificationTime" : "2023-10-06T06:43:07.174Z",
        "sourcePathExist" : true,
        "quotaInBytes" : -1,
        "quotaInNamespace" : -1,
        "bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
        "owner" : "om",
        "link" : false
      } 

      It would be an extension of  feature 'bucket ls --has-snapshot'.

      Attachments

        Activity

          People

            swamirishi Swaminathan Balachandran
            jyosin Jyotirmoy Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: