-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Admin, Concurrency, Replication
-
Replication
Commands like compact which change to replica state to recovering/maint. should drain all operations (which might get caught yielding) before they start. This is the logical step of operations:
- Transitions mode (Recovering) *
- Pause replication
- Wait on active user operations to finish
- Start work (which will probably locks large swaths of collections/dbs)
- Once the first step is done new requests will be rejected