Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
Cluster Scalability
Description
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?
Attachments
Issue Links
- is related to
-
PYTHON-2048 Raise an actionable error message when bulk_write/insert_many retryWrites fails due to using an unsupported storage engine or standalone
-
- Scheduled
-
- related to
-
DRIVERS-699 Raise an actionable error message when retryWrites fails due to using an unsupported storage engine
-
- Implementing
-