[SERVER-71082] Test must wait for election before counting documents on shard Created: 04/Nov/22  Updated: 29/Oct/23  Resolved: 05/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.0.2, 6.1.0-rc4
Fix Version/s: 6.2.0-rc0

Type: Bug Priority: Minor - P4
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2022-11-14
Participants:
Linked BF Score: 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.



 Comments   
Comment by Githook User [ 04/Nov/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-71082 Test must wait for election before counting documents on shard
Branch: master
https://github.com/mongodb/mongo/commit/448ec72bc1ebdd9b687cbd25262e5a638fc35e91

Generated at Thu Feb 08 06:18:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.