Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-71082

Test must wait for election before counting documents on shard

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 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
    • 0
    • 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@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: