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

Sessions on arbiters accumulate and cannot be cleared out

    • Fully Compatible
    • ALL
    • v4.4, v4.2, v4.0
    • Sharding 2021-03-08, Sharding 2021-03-22, Sharding 2021-04-05

      We allow the creation of logical sessions on arbiters. These sessions are distinct from sessions on the rest of the replica set or sharded cluster; they are strictly local.

      However, the logical session reaper does not work on arbiters. Since SERVER-40441, it is disabled explicitly. Before that, it would fail because config.system.sessions does not exist on arbiters (and even if you created it, it wouldn't be sharded on a sharded cluster). This results in eventually running out of space in the session cache, if any are being created.

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: