-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-137224 can be improved by
- Parsing the first op exactly once
- Parsing the checkpoint into a usable data structure within isCheckpointApplyOpsEntry()
Combine isCheckpointApplyOpsEntry() and parseCheckpoint() into a single function called tryParseCheckpoint():
struct ParsedCheckpoint { CheckpointContents checkpoint; Timestamp validAsOf; } boost::optional<ParsedCheckpoint> tryParseCheckpoint(const repl::OplogEntry& entry);
Record the checkpoint if it was parseable. Otherwise don't. This interacts with SERVER-136501, so do that first.
- depends on
-
SERVER-136501 Handle checkpoint applyOps chain in parseCheckpoint()
-
- Open
-