Revert "Retry on received == required_responses in DCRP.on_read_timeout"
This reverts commit c40a1aa79e
.
This commit is contained in:
@@ -10,8 +10,6 @@ Bug Fixes
|
|||||||
closing excess connections
|
closing excess connections
|
||||||
* Avoid handling a node coming up multiple times due to a reconnection attempt
|
* Avoid handling a node coming up multiple times due to a reconnection attempt
|
||||||
succeeding close to the same time that an UP notification is pushed
|
succeeding close to the same time that an UP notification is pushed
|
||||||
* Correctly retry when received_responses == required_responses in
|
|
||||||
DowngradingConsistencyRetryPolicy.on_read_timeout() (PYTHON-55)
|
|
||||||
|
|
||||||
1.1.1
|
1.1.1
|
||||||
=====
|
=====
|
||||||
|
@@ -772,7 +772,7 @@ class DowngradingConsistencyRetryPolicy(RetryPolicy):
|
|||||||
received_responses, data_retrieved, retry_num):
|
received_responses, data_retrieved, retry_num):
|
||||||
if retry_num != 0:
|
if retry_num != 0:
|
||||||
return (self.RETHROW, None)
|
return (self.RETHROW, None)
|
||||||
elif received_responses <= required_responses:
|
elif received_responses < required_responses:
|
||||||
return self._pick_consistency(received_responses)
|
return self._pick_consistency(received_responses)
|
||||||
elif not data_retrieved:
|
elif not data_retrieved:
|
||||||
return (self.RETRY, consistency)
|
return (self.RETRY, consistency)
|
||||||
|
Reference in New Issue
Block a user