Elffuss BraidHub

kikocis/java-driver public

Merge pull request #629 from datastax/java1002

JAVA-1002: Avoid deadlock when re-preparing a statement on other hosts.
Changeset96c0afc7f1271d816d0546ac7416404f174a08a8e86caa700136a682e8d0bb4d
AuthorOlivier Michallat <olim7t@users.noreply.github.com> · 2016-03-24 14:31 +01:00
CommitterOlivier Michallat <olim7t@users.noreply.github.com> · 2016-03-24 14:31 +01:00
Parentsee3bc252f5fc, 1d31cf6a2b31

Browse the files at this changeset

2 files changed

modified changelog/README.md +1 −0
@@ -41,6 +41,7 @@
4141 - [improvement] JAVA-852: Ignore peers with null entries during discovery.
4242 - [bug] JAVA-1132: Executing bound statement with no variables results in exception with protocol v1.
4343 - [bug] JAVA-1005: DowngradingConsistencyRetryPolicy does not work with EACH_QUORUM when 1 DC is down.
44+- [bug] JAVA-1002: Avoid deadlock when re-preparing a statement on other hosts.
4445
4546 Merged from 2.0 branch:
4647
modified driver-core/src/main/java/com/datastax/driver/core/SessionManager.java +1 −1
@@ -219,7 +219,7 @@
219219 new DriverInternalError(String.format("%s response received when prepared statement was expected", response.type)));
220220 }
221221 }
222- });
222+ }, executor());
223223 }
224224
225225 Connection.Factory connectionFactory() {