[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: |
|
||||||||||||||||
| 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: (cherry picked from commit 74d11ae8949bb795c6fc56a56a7bb1ed64a7eb79) |
| Comment by Githook User [ 21/Feb/18 ] |
|
Author: {'email': 'jack.mulrow@mongodb.com', 'name': 'Jack Mulrow', 'username': 'jsmulrow'}Message: |