Avoid moving retry to next host when request ID == 0
Fixes PYTHON-88
This commit is contained in:
@@ -5,6 +5,7 @@ In Progress
|
|||||||
Bug Fixes
|
Bug Fixes
|
||||||
---------
|
---------
|
||||||
* Properly specify UDTs for columns in CREATE TABLE statements
|
* Properly specify UDTs for columns in CREATE TABLE statements
|
||||||
|
* Avoid moving retries to a new host when using request ID zero (PYTHON-88)
|
||||||
|
|
||||||
Other
|
Other
|
||||||
-----
|
-----
|
||||||
|
|||||||
@@ -2558,7 +2558,7 @@ class ResponseFuture(object):
|
|||||||
# to retry the operation
|
# to retry the operation
|
||||||
return
|
return
|
||||||
|
|
||||||
if reuse_connection and self._query(self._current_host):
|
if reuse_connection and self._query(self._current_host) is not None:
|
||||||
return
|
return
|
||||||
|
|
||||||
# otherwise, move onto another host
|
# otherwise, move onto another host
|
||||||
|
|||||||
Reference in New Issue
Block a user