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

Reduce the cost of concurrency control for `CollectionShardingState`

    • Service Arch
    • Fully Compatible
    • v8.0
    • Service Arch 2024-04-29, Service Arch 2024-05-13
    • 200

      A stdx::mutex is used to synchronize the hash-map that backs CollectionShardingState and maps a NamespaceString to its corresponding CSSAndLock. This mutex can be replaced with one that is optimized for shared reads and infrequent writes (e.g. SERVER-86656).

            Assignee:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Reporter:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: