-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
None
-
None
-
None
-
None
-
None
-
None
-
None
With SPM-4048 DDL operations take a snapshot of the FCV when they start, and propagate it using the operation context.
The value of that snapshot is passed to checks of fcv-gated feature flags, ensuring that all checks see a consistent FCV for the entire duration of the DDL.
However, resharding currently creates multiple opCtx's during it's execution, without forwarding the operation metadata between them.
This means that the operation FCV won't be propagated correctly.
As a consequence, fcv-gated feature flags used as part of resharding will be evaluated against the global in-memory FCV, instead of the value of the FCV when the operation started (operation FCV).