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

Logical session reaper and refresh threads should set up sessions collection immediately

    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Sharding 2018-11-05
    • 18

      The logical session cache reaper thread will initially set up the sessions collection. As a part of this, it runs createIndexes which takes a database exclusive lock. Currently, if it runs before the replication system has been set up (and its config initialized), it will wait an entire refresh interval before setting up the collection. This can cause the setup to occur at some later point while the database is up and running, and has the potential to cause transaction aborts due to lock timeouts.

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            william.schultz@mongodb.com William Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: