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

Add a replication passthrough suite to detect errors in LogicalSessionsCache

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.9, 4.0.4, 4.1.4
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • v4.0, v3.6
    • Sharding 2018-09-10, Sharding 2018-09-24

      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.

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

              Created:
              Updated:
              Resolved: