[SERVER-36850] Add a replication passthrough suite to detect errors in LogicalSessionsCache Created: 24/Aug/18  Updated: 29/Oct/23  Resolved: 21/Sep/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.9, 4.0.4, 4.1.4

Type: Task Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Documented
is documented by DOCS-12082 Docs for SERVER-36850: Add a replicat... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Sharding 2018-09-10, Sharding 2018-09-24
Participants:

 Description   

Add a tests that sets period for refresh method to 100 ms and runs core suite on 3 node replica set.
This suite will likely uncover bugs in logical sessions cache caused by race conditions.

Approach:
1. Change the parameter logicalSessionRefreshMinutes to logicalSessionRefreshMillis, so that we can drill down to the millisecond granularity.
2. Update the shell parameters to reflect logicalSessionRefreshMillis. Consider if we want to backport this change to 4.0/3.6.
3. Change the parameter kLogicalSessionDefaultRefresh to 300000ms instead of 5 minutes.
4. Create a passthrough suite that uses a 3-node replica set (sharded cluster?), a logicalSessionRefreshMillis value of 100ms, and runs the core suite.



 Comments   
Comment by Githook User [ 11/Oct/18 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-36850 Add a replica set passthrough suite to detect errors in the logical session cache

(cherry picked from commit 1828360710a6f44da6e95d1fe4760412ad65c848)
Branch: v3.6
https://github.com/mongodb/mongo/commit/675fbe2218ef2756d75466671fd5f5238eec072e

Comment by Githook User [ 11/Oct/18 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-36850 Add a replica set passthrough suite to detect errors in the logical session cache

(cherry picked from commit 1828360710a6f44da6e95d1fe4760412ad65c848)
Branch: v4.0
https://github.com/mongodb/mongo/commit/f5c75a5b6a00c9bb4fcce0ccb6c1203dda321168

Comment by Githook User [ 06/Oct/18 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-36850 Change the LogicalSessionCache refresh parameter granularity from minutes to milliseconds

(cherry picked from commit 1828360710a6f44da6e95d1fe4760412ad65c848)
Branch: v4.0
https://github.com/mongodb/mongo/commit/6e3322c83038a85f2bba932d689f0340c51778ce

Comment by Githook User [ 05/Oct/18 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-36850 Change the LogicalSessionCache refresh parameter granularity from minutes to milliseconds

(cherry picked from commit 1828360710a6f44da6e95d1fe4760412ad65c848)
Branch: v3.6
https://github.com/mongodb/mongo/commit/8ea36fd52fed646eb15584a29469d7e2b4bb3532

Comment by Githook User [ 21/Sep/18 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-36850 Add a replica set passthrough suite to detect errors in the logical session cache
SERVER-36986 Blacklist tests not meant to run concurrently with a background logical session cache refresh thread
SERVER-37187 Temporarily disable oplog validation in the validateCollections hook in logical session cache suites
Branch: master
https://github.com/mongodb/mongo/commit/1828360710a6f44da6e95d1fe4760412ad65c848

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