Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12082

Docs for SERVER-36850: Add a replication passthrough suite to detect errors in LogicalSessionsCache

      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.)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 22 weeks, 1 day ago