Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
None
-
Sharding EMEA
Description
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.
Attachments
Issue Links
- related to
-
SERVER-69530 Skip sharding DB check during index builds
-
- Closed
-
-
SERVER-79150 Reduce ScopedSetShardRole scope to setup stage of index build
-
- Closed
-