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

Provide a way for a secondary to warm up the cache automatically by matching the cached data on the primary

    • Type: Icon: New Feature New Feature
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Replication

      Right now if a replica set (shard) member is restarted it brings a performance impact since the members has to load data into the cache from the disk before the performance returns to the normal level.

      The only workaround for that so far is by synthesizing a custom workload that would warm up the cache for the users ad-hoc. This presents the problem as it would require certain development effort and, for instance, in Atlas the failovers (restarts) are pretty frequent phenomenon due to the maintenance activities.

      It would be great if the secondary could get the map of the cached data from another member (say, primary) and use it to warm up its own cache.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            1 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved: