Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-505 OzoneManager HA
  3. HDDS-1053

Generate RaftGroupId from OMServiceID

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: OM HA, Ozone Manager
    • Labels:
      None

      Description

      Ratis requires RaftGroupId to be a UUID. We need to generate this ID from the OMServiceID so that it is consistent across all the OM nodes in a HA service.

      Currently, we expect OMServiceId to be a 16 character string so that it can be converted to a UUID. But OMServiceID is a user configurable setting. Hence we cannot force users to input a 16 character string.

      One option is to hash the OMServiceID string then truncate to UUID length and use that to generate the UUID.

        Attachments

        1. HDDS-1053-000.patch
          3 kB
          Aravindan Vijayan
        2. HDDS-1053-001.patch
          3 kB
          Aravindan Vijayan
        3. HDDS-1053-002.patch
          4 kB
          Aravindan Vijayan
        4. HDDS-1053-003.patch
          5 kB
          Aravindan Vijayan
        5. HDDS-1053-004.patch
          5 kB
          Aravindan Vijayan

          Issue Links

            Activity

              People

              • Assignee:
                avijayan Aravindan Vijayan
                Reporter:
                hanishakoneru Hanisha Koneru
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: