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

Uncommon bug makes logical session cache not refresh

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.12
    • Component/s: None
    • Labels:
      None
    • ALL
    • Hide

      Unknown, but we suspect it is caused by or related to high loads and/or database crashes.

      Show
      Unknown, but we suspect it is caused by or related to high loads and/or database crashes.

      A problem that has occurred on a replica set twice thus far - once in production, once during testing. For some reason, sometimes the logical session cache stops refreshing against the main session store, collecting a backlog of logical sessions until it hits the 1 million session cap, which causes queries to start to fail with a 261: TooManyLogicalSessions error.

      The tests we did to try and pinpoint the cause of the bug (and with which we caused it again) were using the NodeJS 3.3.2 driver (for Node 10.16.3), and the Python 3.9.0 driver (for Python 3.7.4)  respectively.

      The test environment was a 4.0.12 replicaset with one primary, one secondary and an arbiter. 

       

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            tiacobescu@bitdefender.com Iacobescu Tudor
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: