Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36850

Add a replication passthrough suite to detect errors in LogicalSessionsCache

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.9, 4.0.4, 4.1.4
    • Sharding
    • None
    • Fully Compatible
    • v4.0, v3.6
    • Sharding 2018-09-10, Sharding 2018-09-24

    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.

      Attachments

        Issue Links

          Activity

            People

              blake.oler@mongodb.com Blake Oler
              misha.tyulenev@mongodb.com Misha Tyulenev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: