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

Add a replication passthrough suite to detect errors in LogicalSessionsCache

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.9, 4.0.4, 4.1.4
    • Component/s: Sharding
    • Labels:
      None

      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

              Assignee:
              blake.oler Blake Oler
              Reporter:
              misha.tyulenev Misha Tyulenev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: