[SERVER-29878] Fix mongos_does_not_gossip_logical_time_without_keys.js test to more reliably disable key generation Created: 27/Jun/17  Updated: 30/Oct/23  Resolved: 10/Jul/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.5.10

Type: Improvement Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Misha Tyulenev
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
Sprint: Sharding 2017-07-10, Sharding 2017-07-31
Participants:
Linked BF Score: 0

 Description   

The key generation mongos_does_not_gossip_logical_time_without_keys.js is disabled only on primary
https://github.com/mongodb/mongo/blob/master/jstests/sharding/mongos_does_not_gossip_logical_time_without_keys.js#L37-L38
the logs show that sometimes the secondary becomes the primary and generates the keys when test is being shut down.
Need to also disable key generation on secondary



 Comments   
Comment by Githook User [ 10/Jul/17 ]

Author:

{u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}

Message: SERVER-29878 test key generation more reliably
Branch: master
https://github.com/mongodb/mongo/commit/a13467bddf585a6265e09319f1f769fc0e60beb0

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