Create unit tests to trigger an unrecoverable error at every phase of resharding

XMLWordPrintableJSON

    • Cluster Scalability
    • Fully Compatible
    • ClusterScalability Jul21-Aug3, ClusterScalability Aug4-18
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Similar to the resharding unit tests that stepdown/stepup during each phase, create unit tests that will induce an unrecoverable error during each phase. After the unrecoverable error, ensure that all tasks are cancelled and appropriately cleaned up.

      Additionally, the resharding components use WithAutomaticRetry future chains, however, the "onUnrecoverableError" block remains unused in most places. The error logging is deferred to the "onError" block. Consider adding logging inside the onUnrecoverableError similar to the resharding_batch_oplog_applier.cpp.

              Assignee:
              Kruti Shah
              Reporter:
              Kruti Shah
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: