[SERVER-36721] list_local_sessions.js cannot run concurrently with refreshLogicalSessionCacheNow Created: 17/Aug/18 Updated: 29/Oct/23 Resolved: 25/Sep/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.9, 4.0.4, 4.1.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jonathan Reams | Assignee: | Blake Oler |
| 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: |
v4.0, v3.6
|
||||||||
| Sprint: | Sharding 2018-09-24 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 20 | ||||||||
| Description |
|
The parallel suite very occasionally fails in list_local_sessions.js when it is run concurrently with list_sessions.js. Since list_sessions.js runs the refreshLogicalSessionCacheNow command, which temporarily clears the logical session cache while it's being refreshed, this can interfere with list_local_sessions.js which is trying to enumerate the cache and verify its session still exists. |
| Comments |
| Comment by Githook User [ 04/Oct/18 ] |
|
Author: {'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}Message: (cherry picked from commit 184b099350670747503e0765300ad5892293d426) |
| Comment by Githook User [ 04/Oct/18 ] |
|
Author: {'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}Message: (cherry picked from commit 184b099350670747503e0765300ad5892293d426) |
| Comment by Githook User [ 25/Sep/18 ] |
|
Author: {'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}Message: |
| Comment by Blake Oler [ 24/Sep/18 ] |
|
Re-opening because we still need to add list_all_local_sessions.js to the serialTestArr. |
| Comment by Githook User [ 21/Sep/18 ] |
|
Author: {'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}Message: |
| Comment by Misha Tyulenev [ 20/Sep/18 ] |
|
blake.oler ack |
| Comment by Blake Oler [ 20/Sep/18 ] |
|
misha.tyulenev ack Max's approach adding the tests to the serialTestArr? |
| Comment by Max Hirschhorn [ 17/Aug/18 ] |
|
jonathan.reams, I believe there's value in running list_sessions.js and list_local_sessions.js that moving it to the jstests/noPassthrough/ directory would require running it against a stand-alone, a replica set, and a sharded cluster. It seems like we could address the failure in the parallel suite by adding these two tests to serialTestArr so they don't run the refreshLogicalSessionCacheNow command at the same time as each other. |