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

Use applyTransactionSerial instead of applyTransaction

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      applyTransactionSerial is expected to execute transaction serializable while applyTransaction potentially run transaction in parallel.

      However, in current SCM state machine, applyTransaction waits each operation to finish even it returns CompleteFuture. So we should use applyTransactionSerial and leave applyTransaction returns null.

        Attachments

          Activity

            People

            • Assignee:
              amaliujia Rui Wang
              Reporter:
              amaliujia Rui Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: