Elffuss BraidHub

kikocis/java-driver public

JAVA-1002: Avoid deadlock when re-preparing a statement on other hosts.

(cherry picked from 2.1)
Changeset990ca29f389b6e17db88080e7b4a91342b36731957306731d5d88ac440a442f7
AuthorOlivier Michallat <olim7t@users.noreply.github.com> · 2016-03-24 14:31 +01:00
Committerolim7t <omichallat+github@gmail.com> · 2016-04-01 17:57 +02:00
Parents872afebb570c

Browse the files at this changeset

2 files changed

modified changelog/README.md +1 −0
@@ -20,6 +20,7 @@
2020 - [bug] JAVA-764: Retry with the normal consistency level (not the serial one) when a write times out on the Paxos phase.
2121 - [improvement] JAVA-852: Ignore peers with null entries during discovery.
2222 - [bug] JAVA-1005: DowngradingConsistencyRetryPolicy does not work with EACH_QUORUM when 1 DC is down.
23+- [bug] JAVA-1002: Avoid deadlock when re-preparing a statement on other hosts.
2324
2425
2526 ### 3.0.0
modified driver-core/src/main/java/com/datastax/driver/core/SessionManager.java +1 −1
@@ -223,7 +223,7 @@
223223 new DriverInternalError(String.format("%s response received when prepared statement was expected", response.type)));
224224 }
225225 }
226- });
226+ }, executor());
227227 }
228228
229229 Connection.Factory connectionFactory() {