-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Repl 2021-02-08, Repl 2021-02-22, Repl 2021-03-08
In the ticket SERVER-50423, we've added reconfigs to the upgrade/downgrade path that will change the name of the delay field name on replica set member configs. This behavior is hidden behind a feature flag. When the feature flag is enabled and we perform a reconfig on downgrade to change the field name from secondaryDelaySecs to slaveDelay, the test index_downgrade_fcv.js fails due to an invariant failure here. The error code is ReadConcernMajorityNotAvailableYet, which makes me suspect the index build component failed while attempting to establish a read concern majority cursor for the collection scan, as the system was in the middle of a reconfig. One potential solution is to busy-wait until read concern majority is available, which we seem to do here.
As a note, we have disabled the index_downgrade_fcv.js test for feature flag enabled variants in SERVER-50423. We should make sure to enable this test again once this ticket is closed.
- is depended on by
-
SERVER-52349 Enable feature flag for Remove the Need to Use Master-Slave Terminology
- Closed
- is related to
-
SERVER-50423 Change memberConfig's slaveDelay field to secondaryDelaySecs in FCV 4.7
- Closed
-
SERVER-54389 Audit internal uses of force reconfig and consider using safe reconfig
- Closed
- related to
-
SERVER-54703 Forced re-configs will restart the collection scan phase of index builds
- Closed
-
SERVER-54705 Test upgrade/downgrade with a concurrent reconfig
- Backlog