-
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
Founding without an election for set-wide Replicated RecordIds: when setFCV upgrade to latest completes on a flag-on primary holding no groupId, mint one in the same WUOW as the upgrade-complete write.
Details
- foundingOpTime is the setFCV upgrade-complete entry's opTime, so it is a real fencing optime in the history.
- No announcement is needed at founding: no other node can hold a groupId at that point (C2 cleared everyone at the preceding downgrade, or none ever existed).
- Rid emission starts only for entries after the upgrade-complete entry.
- An election before the first successful resync re-founds the group under the new primary. Repeated foundings are expected and harmless, and must be tested as such.
Acceptance criteria
- FCV upgrade on a flag-on primary mints and begins rid emission without any election.
- Targeted test: upgrade activates (founding at setFCV completion), and an immediate election re-founds correctly.
- depends on
-
SERVER-138108 Expose RecordIds groupId membership in hello and replSetGetStatus
-
- Open
-
- is depended on by
-
SERVER-138124 Membership-based recordId emission and honoring in the oplog path
-
- Open
-