Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10019

Simplify updateLastAppliedIndex in OzoneManagerStateMachine

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • OM HA
    • None

    Description

      HDDS-2680 added some complicated logic to updateLastAppliedIndex. It leads to some bugs like HDDS-9342.

      This JIRA is to investigate some ways to simplify the logic. In particular, we should remove data structure / interface like

      • OzoneManagerStateMachine
        • applyTransactionMap
        • ratisTransactionMap
      • OzoneManagerDoubleBuffer
        • indexToTerm (HDDS-10006)
        • ozoneManagerRatisSnapShot
        • currentFutureQueue
        • readyFutureQueue

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: