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

Generate RaftGroupId from OMServiceID

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • OM HA, Ozone Manager
    • 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-004.patch
          5 kB
          Aravindan Vijayan
        2. HDDS-1053-003.patch
          5 kB
          Aravindan Vijayan
        3. HDDS-1053-002.patch
          4 kB
          Aravindan Vijayan
        4. HDDS-1053-001.patch
          3 kB
          Aravindan Vijayan
        5. HDDS-1053-000.patch
          3 kB
          Aravindan Vijayan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: