[SERVER-36469] shard_kill_and_pooling isn't querying the shard it's supposed to Created: 06/Aug/18  Updated: 29/Oct/23  Resolved: 18/Jun/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.14, 4.0.11, 4.2.0-rc2, 4.3.1

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2, v4.0, v3.6
Sprint: Sharding 2019-07-01
Participants:

 Description   

The test is broken but has been silently passing since most of the time the second shard gets selected as the shard primary, and thus no queries get sent to the first shard, which is the shard that is getting restarted by the test.

We should either remove the second shard or use ensurePrimaryShard to force the test to query against the shard that is being restarted by the test.



 Comments   
Comment by Githook User [ 25/Jun/19 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-36469 Change shard_kill_and_pooling.js to use one shard to ensure correct test behavior

(cherry picked from commit c84cc4eee31704f5c0257512b48b7e2513515ef7)
Branch: v4.0
https://github.com/mongodb/mongo/commit/f1d82f6342a86c5cdcd0ca98d1f2dc9466d71b56

Comment by Githook User [ 25/Jun/19 ]

Author:

{'name': 'Blake Oler', 'username': 'BlakeIsBlake', 'email': 'blake.oler@mongodb.com'}

Message: SERVER-36469 Change shard_kill_and_pooling.js to use one shard to ensure correct test behavior

(cherry picked from commit c84cc4eee31704f5c0257512b48b7e2513515ef7)
Branch: v4.2
https://github.com/mongodb/mongo/commit/9c8ae372699e457918d16b06454325ee109f1448

Comment by Githook User [ 24/Jun/19 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-36469 Change shard_kill_and_pooling.js to use one shard to ensure correct test behavior

(cherry picked from commit c84cc4eee31704f5c0257512b48b7e2513515ef7)
Branch: v3.6
https://github.com/mongodb/mongo/commit/9b09c8671f1306c55e9fcdb397617f38ce45aa31

Comment by Githook User [ 18/Jun/19 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-36469 Change shard_kill_and_pooling.js to use one shard to ensure correct test behavior
Branch: master
https://github.com/mongodb/mongo/commit/c84cc4eee31704f5c0257512b48b7e2513515ef7

Generated at Thu Feb 08 04:43:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.