-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Cluster Scalability
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The resharding coordinator calls calculateParticipantShardsAndChunks, which can eventually call into InitialSplitPolicy. InitialSplitPolicy uses numbered error codes in various places, which can end up being reported as the failure reason if they cause resharding to fail.
Resharding should return named error codes as a failure reason if it fails, so either wrap the errors returned from InitialSplitPolicy with a named error code, or directly replace the numbered error codes in InitialSplitPolicy with named ones.