-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
v5.0
-
Sharding 2021-06-14
-
47
-
1
In the postCheckConsistencyFn passed down to 'withReshardingInBackground' in `reshardind_disallow_writes.js` test, the collMod command gets called with a maxTimeMS of 5000.
This is an issue in slower variants as some are configured with a low executor pool size. Hence there's no assurance that the command will be addressed in 5000 ms.
The simplest solution would either be to remove the maxTimeMS (which uses the default) or extend it to a larger number like 30,000 MS.