[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 Created: 15/Nov/17  Updated: 30/Oct/23  Resolved: 06/Dec/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.1, 3.7.1

Type: Improvement Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Sprint: Sharding 2017-12-18
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 06/Dec/17 ]

Author:

{'name': 'Jack Mulrow', 'username': 'jsmulrow', 'email': 'jack.mulrow@mongodb.com'}

Message: SERVER-31984 Include _recvChunkStatus errmsg in failed moveChunk response

(cherry picked from commit 12a08f2246b8ec195b9f97449d5717895197b7ee)
Branch: v3.6
https://github.com/mongodb/mongo/commit/2b065f5f92847901f917183674ce364263300b8c

Comment by Githook User [ 06/Dec/17 ]

Author:

{'name': 'Jack Mulrow', 'username': 'jsmulrow', 'email': 'jack.mulrow@mongodb.com'}

Message: SERVER-31984 Include _recvChunkStatus errmsg in failed moveChunk response
Branch: master
https://github.com/mongodb/mongo/commit/12a08f2246b8ec195b9f97449d5717895197b7ee

Generated at Thu Feb 08 04:28:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.