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

Consider introducing fine grained chunk locks

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Duplicate
    • None
    • None
    • Sharding
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-sharding Backlog - Sharding Team
              pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: