Skip to content

Commit c10ed80

Browse files
committed
Fix clientId
1 parent 9808a0d commit c10ed80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymongo/asynchronous/mongo_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2869,7 +2869,7 @@ async def _read(self) -> T:
28692869
_debug_log(
28702870
_COMMAND_LOGGER,
28712871
message=f"Retrying read attempt number {self._attempt_number}",
2872-
clientId=self._client.client_id,
2872+
clientId=self._client._topology_settings._topology_id,
28732873
commandName=self._operation,
28742874
operationId=self._operation_id,
28752875
)

pymongo/synchronous/mongo_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2855,7 +2855,7 @@ def _read(self) -> T:
28552855
_debug_log(
28562856
_COMMAND_LOGGER,
28572857
message=f"Retrying read attempt number {self._attempt_number}",
2858-
clientId=self._client.client_id,
2858+
clientId=self._client._topology_settings._topology_id,
28592859
commandName=self._operation,
28602860
operationId=self._operation_id,
28612861
)

0 commit comments

Comments
 (0)