-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Replication
This ticket is similar in idea to SERVER-89948 and SERVER-78834. The current oplog application code can be difficult to parse through at times. Some specific points of improvement to consider:
- Functions like this one have complicated `if` logic that can be difficult to trace. There are a lot of conditions to consider when reading through the code
- Similar to above, these functions are also long, with a lot of tabbing
- Errors that are intended to be thrown are caught and returned instead, but then later thrown higher in the stack. LOGV2_FATAL_CONTINUE seems like a scary paradigm to use if we do not immediately throw afterwards
- is related to
-
SERVER-78834 Unify constraint checking knobs used in oplog application.
-
- Backlog
-
-
SERVER-89948 Refactor oplog application for observability
-
- Closed
-