Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2823 SCM HA Support
  3. HDDS-4107

replace scmID with clusterID for container and volume at Datanode side

    XMLWordPrintableJSON

    Details

      Description

      The disk layout per volume is as follows:

      ../hdds/VERSION
      ../hdds/<<scmUuid>>/current/<<containerDir>>/<<containerID>>/metadata
      ../hdds/<<scmUuid>>/current/<<containerDir>>/<<containerID>>/<<dataDir>>

      However, after SCM-HA is enabled, a typical SCM group will consists of 3 SCMs, each of the SCMs has its own scmUuid, meanwhile share the same clusterID.

      Since federation is not supported yet, only one cluster is supported now, this Jira will change scmID to clusterID for container and volume at Datanode side.

      The disk layout after the change will be as follows:

      ../hdds/VERSION
      ../hdds/<<clusterID>>/current/<<containerDir>>/<<containerID>>/metadata
      ../hdds/<<clusterID>>/current/<<containerDir>>/<<containerID>>/<<dataDir>>

        Attachments

          Activity

            People

            • Assignee:
              glengeng Glen Geng
              Reporter:
              glengeng Glen Geng
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: