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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.4, 3.6.9, 4.0.4
    • manual, Server
    • None

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 30 weeks, 6 days ago