SERVER-65085 adds sharded collection epoch, in order to avoid using the stale cache entries of the SBE planCache after performing refineShardKey on a collection.
However it didn't introduce the jstest that would verify this behavior.
SERVER-65085 adds sharded collection epoch, in order to avoid using the stale cache entries of the SBE planCache after performing refineShardKey on a collection.
However it didn't introduce the jstest that would verify this behavior.