Consider introducing fine grained chunk locks

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: