diff --git a/pymongo/command_cursor.py b/pymongo/command_cursor.py index 06fa43acd..3ff145cb0 100644 --- a/pymongo/command_cursor.py +++ b/pymongo/command_cursor.py @@ -159,7 +159,7 @@ class CommandCursor(object): legacy_response=legacy_response, user_fields=user_fields) if from_command: first = docs[0] - client._process_response(first, self.__session) + client._receive_cluster_time(first, self.__session) helpers._check_command_response(first) except OperationFailure as exc: diff --git a/pymongo/cursor.py b/pymongo/cursor.py index 72304e164..2266d03ab 100644 --- a/pymongo/cursor.py +++ b/pymongo/cursor.py @@ -1006,7 +1006,7 @@ class Cursor(object): legacy_response=legacy_response, user_fields=user_fields) if from_command: first = docs[0] - client._process_response(first, self.__session) + client._receive_cluster_time(first, self.__session) helpers._check_command_response(first) except OperationFailure as exc: self.__killed = True