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

Investigate support for excluding sharding critical section checks in AutoGet

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA

      As part of SERVER-69530 we discovered that Index builds need to be excluded from the critical section check of a database during commit time.

      One of the alternatives discussed was the possibility of adding support to the AutoGet RAII types. These currently perform a sharding check when acquiring the DB lock. This would better document places where it is safe to not do these checks. Currently the recommended choice is to manually acquire a DBLock or CollectionLock to skip them.

      If adding support to the AutoGet methods is the option considered, a follow-up ticket should work on removing current manual lock acquisition in favour of AutoGet.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: