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

Generate BlockCommitSequenceId in ContainerStateMachine for every commit operation in Ratis

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0, 0.4.0
    • Ozone Datanode
    • None

    Description

      BlockCommitSequenceId will be increasing long value generated in the Ratis leader for every commit operation of a block and will be replicated over to the followers. This id will be updated in OM and will be reported to SCM which will help the most consistent copy of a open container replica in case the majority of the datanodes fail.

      The blockCommitSequenceId is same as the commit index of the flush(PUT_BLOCK) transaction in Ratis.

      Attachments

        1. HDDS-450.002.patch
          20 kB
          Shashikant Banerjee
        2. HDDS-450.001.patch
          20 kB
          Shashikant Banerjee

        Activity

          People

            shashikant Shashikant Banerjee
            shashikant Shashikant Banerjee
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: