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

Prevent config.system.sessions from being created as unsharded

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 8.1.0-rc0, 8.0.0
    • Component/s: None
    • None
    • Catalog and Routing

      The config.system.sessions collection is expected to be a sharded collection spread out among the shards. However, if the user tries to use a session before the collection has been created it is possible for the collection to be implicitly created as unsharded. In this case, it will live only on the config server and when the logical sessions cache refresher shards the collection, the unsharded version on the config server will become inaccessible (along with any sessions inside it).

      We should prevent this collection from being created as unsharded and should instead create it as sharded if there is a request to create it implicitly.

            Assignee:
            Unassigned Unassigned
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: