Test must wait for election before counting documents on shard

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 6.2.0-rc0
    • Affects Version/s: 6.0.2, 6.1.0-rc4
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-11-14
    • 45
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In jstests/sharding/delete_range_deletion_tasks_on_stepup_after_drop_collection.js we stepdown the migration donor shard primary node and then we issue a count with the default primary read preference without waiting for the new primary to be elected.

            Assignee:
            Tommaso Tocci
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: