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

A migration will simply report "Data transfer error" when we have rich error details on the destination shard that are logged but not returned to the user

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.1, 3.7.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v3.6
    • Sharding 2017-12-18

      moveChunk res: {
      	"ok" : 0,
      	"errmsg" : "Data transfer error",
      	"code" : 96,
      	"codeName" : "OperationFailed",
      	"$clusterTime" : {
      		"clusterTime" : Timestamp(1510773890, 3),
      		"signature" : {
      			"hash" : BinData(0,"KrDR/Iuwg3eUkgFxgvH9NTilYmk="),
      			"keyId" : NumberLong("6488724371891290116")
      		}
      }
      

      Wherever we call MigrationDestinationManager::setStateFailWarn, we're logging detailed error messages on the destination shard, but not returning the error messages.

      No logic issue, but usability issue.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: