SERVER-138125ClosedDuplicate
Membership-based rid honoring in oplog application
The applier honors {{rids}} iff the node holds a {{groupId}}, replacing the per-collection catalog check. This is the core of the feature: in-group nodes apply updates and deletes by {{rid}}, out-of-group nodes fall back to {{_id}} lookup. h2. Details - Relax [tassert 11454701|https://github.com/10gen/mongo/blob/5fce3b99dea39b4f9453477819cedd935fba9a2c/src/mongo/db/repl/oplog.cpp#L2590] ({{rid}} presence iff collection option) to a membership-plus-in-scope check. - In-group: inserts at the