-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Replication
applyOplogBatchPerWorker is responsible for applying vectors of oplog entries assigned to each thread of a pool of writer threads. It calls applyOplogEntryOrGroupedInserts to apply the CRUD/command entry. Depending on how applyOplogEntryOrGroupedInserts returns an error (return error status or throw exception), any given error code that requires special handling (eg. NamespaceNotFound) may be handled either in the exception handling block or after applyOplogEntryOrGroupedInserts returns an error Status object. It would be desirable to unify this error handling behavior while accounting for any exceptions that should not be converted to a Status (eg. WriteConflictException).
- related to
-
SERVER-41371 Unify NamespaceNotFound handling when calling applyOperation_inlock
- Backlog