Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6517 Snapshot support for Ozone
  3. HDDS-7509

[Snapshot] Use `java.util.UUID` for `snapshotID` in `SnapshotInfo` for more efficient storage

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 1.4.0
    • None

    Description

      We should consider using `java.util.UUID` class rather than a `String` for more efficient storage if `snapshotID` would only be a UUID:

      https://github.com/apache/ozone/blob/06ae2fe8d5476ba895f72b5a055f33de546cc24f/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/SnapshotInfo.java#L99

      Attachments

        Issue Links

          Activity

            People

              hemantk Hemant Kumar
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: