Wait until donors/recipients are aware that coordinator has persisted decision before expecting successful collMod, createIndexes, and dropIndexes in resharding_prohibited_commands.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.3, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Sharding 2021-08-09
    • 169
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test checks that the coordinator has persisted that it is in either "committing" or "aborting" state before running collMod, createIndexes, and dropIndexes and asserting that these commands succeed. It should instead wait until donors/recipients are aware that the coordinator has persisted that it's in "committing"/"aborting" because we check whether collMod, createIndexes, and dropIndexes can succeed based on donors/recipients knowledge of the coordinator state.

              Assignee:
              Janna Golden
              Reporter:
              Janna Golden
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: