-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Cluster Scalability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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?
- 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
-
- Closed
-
- related to
-
DRIVERS-699 Raise an actionable error message when retryWrites fails due to using an unsupported storage engine
-
- Closed
-