|
Reported in PYTHON-2048. When a Mongos routes a retryable write to a standalone shard the driver gets the following error:
{
|
'n': 0,
|
'ok': 1.0,
|
'operationTime': Timestamp(1573609811, 1),
|
'writeErrors': [{'code': 20,
|
'codeName': 'IllegalOperation',
|
'errmsg': 'Transaction numbers are only allowed on a replica set member or mongos',
|
'index': 0}]
|
'$clusterTime': {'clusterTime': Timestamp(1573609811, 1),
|
'signature': {'hash': b'\x00\x00\x00\x00\x00\x00\x00\x00'
|
b'\x00\x00\x00\x00\x00\x00\x00\x00'
|
b'\x00\x00\x00\x00',
|
'keyId': 0}}
|
}
|
Could we improve this error message?
|