[SERVER-32792] Blacklist tests that assert on ismaster field of isMaster response in retryable_writes_jscore_stepdown_passthrough Created: 19/Jan/18  Updated: 30/Oct/23  Resolved: 21/Feb/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.7, 3.7.3

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-36247 jscore/ismaster.js is not retryable i... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6
Sprint: Sharding 2018-02-26
Participants:
Linked BF Score: 0

 Description   

If a stepdown occurs during an isMaster command, the server can return an {ok: 1, ismaster: false} reponse if there is enough time before its connection is cut, since isMaster defaults to slaveOk: true. Tests running in the retryable_writes_jscore_stepdown_passthrough expect to be running against primary nodes only, so this can fail assertions.

Only two tests in jstests/core assert on this field, ismaster.js and dbadmin.js, and neither provides much value for testing retryable writes across stepdowns, so the simplest way around this is to just blacklist these tests.



 Comments   
Comment by Githook User [ 06/Aug/18 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-32792 Blacklist tests that assert on ismaster field of isMaster response in retryable writes stepdown passthrough

(cherry picked from commit 74d11ae8949bb795c6fc56a56a7bb1ed64a7eb79)
Branch: v3.6
https://github.com/mongodb/mongo/commit/78baf889e4fc760184fe66c100fcc44ec9763005

Comment by Githook User [ 21/Feb/18 ]

Author:

{'email': 'jack.mulrow@mongodb.com', 'name': 'Jack Mulrow', 'username': 'jsmulrow'}

Message: SERVER-32792 Blacklist tests that assert on ismaster field of isMaster response in retryable writes stepdown passthrough
Branch: master
https://github.com/mongodb/mongo/commit/74d11ae8949bb795c6fc56a56a7bb1ed64a7eb79

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