-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12
-
120
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
We should not assume that 'collInfo' is initialized when we hit 'onError' at method 'runImpl' from 'collmod_coordinator.cpp'.
To fix this bug I propose to one of the two solutions:
- Check if 'collInfo' is initialized before entering to 'resumeMigrations' inside 'onError'.
- Get the 'nsForTargeting' locally:
- nsForTargeting = info.timeSeriesOptions ? originalNss().makeTimeseriesBucketsNamespace() : originalNss()