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

Test must wait for election before counting documents on shard

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 6.2.0-rc0
    • 6.0.2, 6.1.0-rc4
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-11-14
    • 45

    Description

      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.

      Attachments

        Activity

          People

            tommaso.tocci@mongodb.com Tommaso Tocci
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: