Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-48 ContainerIO - Storage Management
  3. HDDS-156

Implement HDDSVolume to manage volume state

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.1
    • None
    • None
    • HDDS Acadia

    Description

      This Jira proposes the following:

      1. Implement HDDSVolume to encompass VolumeInfo along with other HDDS specific fields.
        • VolumeInfo container disk specific information such as capacity, usage, storageType. HddsVolume has hdds specific fields for volume such as VolumeState, VolumeStats (will be added later).
      2. Write volume level Version file
        • clusterID, storageID, datanodeUUID, creationTime and layoutVersion.
      3. Read Version file while instantiating HDDSVolumes.
        • When the volume Version file already exists (for example, when a DN is restarted), then the version file is read for the stored clusterID, datanodeUuid, lahyoutVersion etc. Some checks will be performed to verify the sanity of the volume.
        • When a fresh Datanode is started, the Version file is not written to the volume uptill the clusterID is received from the SCM.

       

      Attachments

        1. HDDS-156-HDDS-48.001.patch
          60 kB
          Hanisha Koneru
        2. HDDS-156-HDDS-48.002.patch
          55 kB
          Hanisha Koneru
        3. HDDS-156-HDDS-48.003.patch
          63 kB
          Hanisha Koneru
        4. HDDS-156-HDDS-48.004.patch
          74 kB
          Hanisha Koneru
        5. HDDS-156-HDDS-48.005.patch
          81 kB
          Hanisha Koneru
        6. HDDS-156-HDDS-48.006.patch
          83 kB
          Hanisha Koneru

        Issue Links

          Activity

            People

              hanishakoneru Hanisha Koneru
              hanishakoneru Hanisha Koneru
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: