Similar to mongos in SERVER-29652, shards and configs should not gossip $logicalTime if FCV is set to 3.4.
While its unlikely that client will connect directly we should avoid the scenario when the afterCLusterTime clause is rejected but operationTime is still returned because its hard to address on the client side.
In mongod the FCV is available hence the implementation is the following
1. add a check that FCV == 36 in https://github.com/mongodb/mongo/blob/master/src/mongo/db/service_entry_point_mongod.cpp#L484
so the operationTime will be added only in 36 mongod for sharded and standalone RS
2. add a check that FCV == 36 in
https://github.com/mongodb/mongo/blob/master/src/mongo/db/service_entry_point_mongod.cpp#L257-L268
so the operationTime will be added only in 36 mongod for sharded and standalone RS
- is depended on by
-
SERVER-29754 Remove checks for featureCompatibilityVersion k34 from causal consistency
- Closed