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

Load sharding metadata from disk on mongod startup

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding
    • ALL

      Starting in 3.6, when a shard mongod loads the chunk metadata for a sharded collection, it records that metadata durably. If the mongod restarts, however, the in-memory cache of that information is lost and isn't loaded until a metadata refresh is triggered via a request from a mongos. Shard mongods should load the routing information from its persistent local copy into memory at startup.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: