-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication, Sharding
-
Sharding 2019-01-28, Sharding 2019-06-17
When a node becomes primary, we invalidate sessions that could have a retryable write on them because secondaries don't keep retryable writes state up-to-date. It would be more appropriate to refresh this state on stepDown instead.