-
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
apply_ops_mode.js verifies applyOps command semantics (alwaysUpsert and oplogApplicationMode defaults, mode parsing, FCV collection rules) on a standalone. It enables overrideRecordIdsReplicatedFalse only because its update ops carry no rid: with the flag on, the test collection would be created rid-enabled and applying rid-less ops in non-command modes would trip the rid invariant, drowning the actual assertions. The failpoint is scaffolding, not part of the test's intention.
Change
Delete the configureFailPoint call. Safe once honoring is membership-keyed: the relaxed invariant only requires a rid on in-group nodes, and a standalone is always groupless. For a node that was previously in-group, SERVER-138309 guarantees the standalone write clears the groupId before any application happens.
Acceptance criteria
- The test passes with the failpoint removed, in default and all-feature-flags variants.
- depends on
-
SERVER-138309 Clear the groupId on standalone document-data writes (C4)
-
- Open
-
- is depended on by
-
SERVER-138242 Retire the per-collection recordIdsReplicated option
-
- Open
-