|
ross.lawley, thanks for your investigation. I am now closing this as "Works as Designed". Just reposting what Ross found, the server correctly returns the RetryableWriteError label:
{
|
"n": 1,
|
"electionId": {"$oid": "7fffffff000000000000000a"},
|
"opTime": {"ts": {"$timestamp": {"t": 1626689946, "i": 14}}, "t": 10},
|
"nModified": 1,
|
"writeConcernError": {
|
"code": 11602,
|
"codeName": "InterruptedDueToReplStateChange",
|
"errmsg": "operation was interrupted",
|
"errInfo": {
|
"writeConcern": {"w": "majority", "wtimeout": 0, "provenance": "clientSupplied"}}},
|
"ok": 1.0,
|
"errorLabels": ["RetryableWriteError"],
|
"topologyVersion": {"processId": {"$oid": "60f54f5c9e6c63f5eea70275"}, "counter": 29},
|
"$clusterTime": {"clusterTime": {"$timestamp": {"t": 1626689946, "i": 14}}, "signature": {"hash": {"$binary": {"base64": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=", "subType": "00"}}, "keyId": 0}},
|
"operationTime": {"$timestamp": {"t": 1626689946, "i": 14}}}
|
|