-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.7.0
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v4.7
-
Sharding 2020-10-05
-
28
In order to gossip the different components of the vector clock, we attach them to both commands requests and their replies before to send them over the wire. This is done by calling the VectorClock::gossipOut() function.
This function inspects the tags of the current session to decide which components of the vector clock will be gossiped. If no session is found the default tags (passed to the function) will be used for this decision.
Now the problem is that a session can exists but it can be still in the early kPending state, in such a case it won't have any of the other tags.
This case it is not considered by the VectorClock::gossipOut() function. In fact if a session in a pending state is found we always threat the communication as external and the the default tags (passed to the function) will be ignored.
This results in the VectorClock components not being gossiped on all the newly started sessions.
- depends on
-
SERVER-51102 Use new $currentOp aggregation pipeline stage in count_plan_summary.js
- Closed
- is caused by
-
SERVER-47914 Move clusterTime from LogicalClock to VectorClock
- Closed
- is related to
-
SERVER-49970 Prefer the VectorClock's ConfigTime to configOpTime when querying config servers
- Closed