kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | c3118eb39c7944bec2c7423dc94246b92b160d60f574d27eeac59ed97df2c3e6 |
|---|---|
| Author | Sylvain Lebresne <sylvain@datastax.com> · 2014-02-24 17:09 +01:00 |
| Committer | Sylvain Lebresne <sylvain@datastax.com> · 2014-02-24 17:09 +01:00 |
| Parents | 58739bfde29a |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/SessionManager.java +1 −1
| @@ -191,7 +191,7 @@ | ||
| 191 | 191 | throw new DriverInternalError(String.format("%s response received when prepared statement was expected", response.type)); |
| 192 | 192 | } |
| 193 | 193 | } |
| 194 | - }); | |
| 194 | + }, executor()); // Since the transformation involves querying other nodes, we should not do that in an I/O thread | |
| 195 | 195 | } |
| 196 | 196 | |
| 197 | 197 | Connection.Factory connectionFactory() { |