[DOCS-12082] Docs for SERVER-36850: Add a replication passthrough suite to detect errors in LogicalSessionsCache Created: 27/Sep/18  Updated: 13/Nov/23  Resolved: 27/Nov/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.4, 3.6.9, 4.0.4, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-36850 Add a replication passthrough suite t... Closed
Participants:
Days since reply: 5 years, 11 weeks, 1 day ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Description:

The LogicalSessionCache originally had a default parameter for refresh denoted in minutes. We changed it to milliseconds for easier testing. The default refresh time (five minutes) is still the same.

Engineering Ticket 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.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 27/Nov/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12082: 4.2 rm logicalSessionRefreshMinutes
Branch: master
https://github.com/mongodb/docs/commit/b0ca2826f42c612ddc9d035cf62bdb295e36ab16

Comment by Githook User [ 27/Nov/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12082: trivial: typo - 4.0.4 instead of 4.0.5
Branch: master
https://github.com/mongodb/docs/commit/65a6ea5afdd76b439d467f9c2d0cbbf916d0f1f8

Comment by Githook User [ 27/Nov/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12082: logicalSessionRefreshMillis replace logicalSessionRefreshMinutes
Branch: master
https://github.com/mongodb/docs/commit/8bc491e6e5e86281c206bdcda637826ed1d55997

Comment by Githook User [ 27/Nov/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12082: trivial: typo - 4.0.4 instead of 4.0.5
Branch: v4.0
https://github.com/mongodb/docs/commit/dc1b353209c48b1aada60f161fbe651f43fc9102

Comment by Githook User [ 27/Nov/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12082: 3.6.9 logicalSessionRefreshMillis replace logicalSessionRefreshMinutes
Branch: v3.6
https://github.com/mongodb/docs/commit/b2a695b3ecebc520cc0b0cfb15127772685c686b

Comment by Githook User [ 27/Nov/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12082: logicalSessionRefreshMillis replace logicalSessionRefreshMinutes
Branch: v4.0
https://github.com/mongodb/docs/commit/6551d427c1a9779336868c65dd35616a128144f6

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