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

Consider introducing fine grained chunk locks

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding

      With the work done under SERVER-53468 it, the global chunk lock can potentially be held for long periods during upgrade/downgrade resulting in chunk operations slowing down or timing out on all collections.

      As an optimization, consider if it would be better to introduce a more fine grained chunk locking mechanism (per collection). The idea is to synchronize the access to subsets of documents of config.chunks that contains the chunk entries for all namespaces.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: