Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50584

Serialize resharding errors into a new abortReason field

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding 2021-01-25, Sharding 2021-02-08
    • 2

    Description

      What needs to be done:

      • Serialize caught errors in the run()::onError handler and persist to config.localReshardingOperations.
      • Add an error field to recipient/donor array on entries on the coordinator document idl. This error field should be able to hold an error code and the string associated with it. When a donor/recipient receives an error that is unrecoverable, it will indefinitely attempt to majority write the error, along with a change to the error state, to its own array entry on the coordinator's config.reshardingOperations document.

       

      Also:

      Attachments

        Issue Links

          Activity

            People

              haley.connelly@mongodb.com Haley Connelly
              blake.oler@mongodb.com Blake Oler
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: