-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Minor Change
-
v4.4
Right now we check if a new batch has metadata, before processing it or using it in multiple places (like here, here, and here). Each batch should always have metadata, so we should error if that's not the case.
This should come with the bonus of cleaning up the code a little, since we only need to check for the metadata once.
- is depended on by
-
SERVER-47097 Add isPrimary to ReplSetMetadata and use it for sync source selection
- Closed
- is duplicated by
-
SERVER-47098 Require ReplSetMetadata in OplogFetcher::_onSuccessfulBatch
- Closed
- is related to
-
SERVER-27668 Remove unnecessary fields in ReplSetMetadata
- Backlog