Investigate presence of multiple migration coordinator documents

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 5.0.5, 5.1.1
    • Component/s: None
    • None
    • Sharding EMEA 2021-12-27
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It has been observed on a cluster the presence of 4 migration coordinator documents on one shard that led to hit this invariant on step-up.

      The documents were all relative to migrations for different namespaces and the states were:

      • 2 aborted
      • 1 committed
      • 1 without decision

      The range deletions seemed to have been correctly handled both on donor and recipients:

      • No range deletion documents for the aborted migrations (range deletion tasks already executed)
      • Ready range deletion task on the donor for the committed migration
      • Pending range deletions on donor/receiver for the migration without decision

      Given the state of "decided" migrations, we can consider that:

      It is then very likely that something odd happened right after, as part of the call to forgetMigration that did not remove the migration coordinators.

              Assignee:
              Pierlauro Sciarelli
              Reporter:
              Pierlauro Sciarelli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: