Refactor state transition handling for resharding participants

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc4
    • Affects Version/s: 8.0.0-rc0
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • v8.0, v7.3, v7.0, v6.0, v5.0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      • Resharding participants should skip checking invariants if they are in states that will potentially abort(kError or kDone)
      • Refractor recipientService to use a generic _transitionState() to avoid duplicate code
      • Introduce an invariant to make sure participants can only transition from kError -> kDone

       

              Assignee:
              Kruti Shah
              Reporter:
              Kruti Shah
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: