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

Modify ConcurrentSharedValuesMap to use immutable maps

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution

      ConcurrentSharedValuesMap currently uses a shared_ptr that's replaced with another one whenever we update the map.

      Updates to the map happen by copying the entire map and replacing the specified element. This is a pattern that lends itself very easily to our new immutable unordered_map.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: