Resharding Should Return Named Error Codes When Calculating Chunks

XMLWordPrintableJSON

    • 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.

            Assignee:
            Unassigned
            Reporter:
            Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: