[RELEASE] DataStax Java driver 2.0.10.1 and 2.1.6

80 views
Skip to first unread message

Olivier Michallat

unread,
May 20, 2015, 12:38:11 PM5/20/15
to java-dri...@lists.datastax.com
We've just released two new versions of the driver:

2.0.10.1 is a patch release for the 2.0 branch. Its primary goal is to fix JAVA-768, a potential race condition in the connection pool code (this is a proactive fix: the chance of racing is extremely low and we've not been able to make it happen in practice).
We've also used this opportunity to fix a few other tickets:
- the driver now uses Netty's pooled ByteBuf allocator by default
- the paging state API now comes in a "unsafe" version, that doesn't check the statement when reinjecting the state (read the online doc for further details).

2.1.6 is an update on the 2.1 branch with all the recent 2.0 changes.

Please refer to the online documentation for more:

The new versions have been pushed to the central Maven repository. Binary distributions will be published shortly to http://downloads.datastax.com/java-driver/

Here are the complete changelogs:

- [improvement] Use Netty's pooled ByteBufAllocator by default (JAVA-756)
- [improvement] Expose "unsafe" paging state API (JAVA-759)
- [bug] Fix getObject by name (JAVA-767)
- [bug] Prevent race during pool initialization (JAVA-768)

2.1.6:
- [new feature] Add getObject to BoundStatement and Row (JAVA-584)
- [improvement] Improve connection pool resizing algorithm (JAVA-419)
- [bug] Fix race condition between pool expansion and shutdown (JAVA-599)
- [improvement] Upgrade Netty to 4.0.27 (JAVA-622)
- [improvement] Coalesce frames before flushing them to the connection
  (JAVA-562)
- [improvement] Rename threads to indicate that they are for the driver
  (JAVA-583)
- [new feature] Expose paging state (JAVA-550)
- [new feature] Slow Query Logger (JAVA-646)
- [improvement] Exclude some errors from measurements in LatencyAwarePolicy
  (JAVA-698)
- [bug] Fix issue when executing a PreparedStatement from another cluster
  (JAVA-641)
- [improvement] Log keyspace xxx does not exist at WARN level (JAVA-534)
- [improvement] Allow Cluster subclasses to delegate to another instance
  (JAVA-619)
- [new feature] Expose an API to check for schema agreement after a
  schema-altering statement (JAVA-669)
- [improvement] Make connection and pool creation fully async (JAVA-692)
- [improvement] Optimize connection use after reconnection (JAVA-505)
- [improvement] Remove "suspected" mechanism (JAVA-617)
- [improvement] Don't mark connection defunct on client timeout (reverts
  JAVA-425)
- [new feature] Speculative query executions (JAVA-561)
- [bug] Release connection before completing the ResultSetFuture (JAVA-666)
- [new feature BETA] Percentile-based variant of query logger and speculative
  executions (JAVA-723)
- [bug] Fix buffer leaks when compression is enabled (JAVA-734).
- [improvement] Use Netty's pooled ByteBufAllocator by default (JAVA-756)
- [improvement] Expose "unsafe" paging state API (JAVA-759)
- [bug] Prevent race during pool initialization (JAVA-768)

--

Olivier Michallat

Driver & tools engineer, DataStax

Reply all
Reply to author
Forward
0 new messages