Server selection log shows "abortTransaction" instead of "commitTransaction":
DEBUG pymongo.serverSelection:logger.py:108 {"message": "Server selection started", "selector": "<function writable_server_selector at 0x10652c900>", "operation": "abortTransaction", "topologyDescription": "<...", "clientId": {"$oid": "68a63bfdd879f3f149e6a493"}} DEBUG pymongo.serverSelection:logger.py:108 {"message": "Server selection succeeded", "selector": "<function writable_server_selector at 0x10652c900>", "operation": "abortTransaction", "topologyDescription": "...", "clientId": {"$oid": "68a63bfdd879f3f149e6a493"}, "serverHost": "localhost", "serverPort": 27017} ... DEBUG pymongo.command:logger.py:108 {"message": "Command started", "clientId": {"$oid": "68a63bfdd879f3f149e6a493"}, "command": "{\"commitTransaction\": 1, :...}", "commandName": "commitTransaction", "databaseName": "admin", "requestId": 357571490, "operationId": 357571490, "driverConnectionId": 1, "serverConnectionId": 1773, "serverHost": "localhost", "serverPort": 27017}
The bug is here:
return await self._client._retry_internal( func, self, None, retryable=True, operation=_Op.ABORT )
- is related to
-
DRIVERS-3272 Add logging spec test for commitTransaction
-
- Needs Triage
-
- related to
-
DRIVERS-3272 Add logging spec test for commitTransaction
-
- Needs Triage
-