[SERVER-32376] Blacklist tests that manually call startSession in the retryable_writes_jscore_stepdown_passthrough suite Created: 15/Dec/17  Updated: 30/Oct/23  Resolved: 04/Jan/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.3, 3.7.1

Type: Task 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
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Sprint: Sharding 2018-01-15
Participants:
Linked BF Score: 0

 Description   

New sessions are asynchronously flushed to disk, so a stepdown immediately after starting a session will cause it to disappear. This is a problem for jscore tests that call startSession and expect the returned sessionId to exist for the rest of the test.

This should not affect the enable_sessions.js override or the tests that use the shell's startSession helper since they create a DriverSession, which lives on the client and should survive failovers.



 Comments   
Comment by Githook User [ 16/Jan/18 ]

Author:

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

Message: SERVER-32376 Disallow startSession command and listLocalCursors/Sessions aggregation stages in stepdown suites

(cherry picked from commit 2790db08f218a0c909b1508bc2f1650e7e81c6c3)
Branch: v3.6
https://github.com/mongodb/mongo/commit/94fc000430e37898af2272f4a58cc73a3bf1ded4

Comment by Githook User [ 04/Jan/18 ]

Author:

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

Message: SERVER-32376 Disallow startSession command and listLocalCursors/Sessions aggregation stages in stepdown suites
Branch: master
https://github.com/mongodb/mongo/commit/2790db08f218a0c909b1508bc2f1650e7e81c6c3

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