-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2023-03-20, Execution Team 2023-04-03
-
135
When we write oplog entries for insert operations, we have to identify any orphan documents in the operations and override the default fromMigrate setting accordingly.
The corresponding logic for overriding the fromMigrate setting happens in the query stages for deletes and updates above the OpObserver layer, so it would be consistent to evaluate this setting for inserts outside the OpObserver framework.
- is related to
-
SERVER-62581 Handle direct inserts to shards introducing orphan documents
- Closed
-
SERVER-65858 Mark the applyOps entries when the operations involves orphaned documents
- Closed
-
SERVER-74563 Streamline logical branches in opObserverImpl::onInserts
- Closed