[RELEASE] OSS driver 4.2.1 and DSE driver 2.2.1

8 views
Skip to first unread message

Olivier Michallat

unread,
Sep 24, 2019, 2:31:41 PM9/24/19
to java-dri...@lists.datastax.com
We've just released a patch version for both drivers.

It addresses two bugs regarding token-aware routing of prepared statements: the driver did not always compute the routing key correctly; queries would still work, but might not get routed optimally to a coordinator.

In addition, we fixed a schema metadata parsing issue that would only happen if you migrated from a legacy Thrift schema, and revisited logging to ensure that such parsing errors are properly surfaced.

The rest of the tickets are trivial documentation changes.

Here's the changelog for 4.2.1:

- [bug] JAVA-2454: Handle "empty" CQL type while parsing schema
- [improvement] JAVA-2455: Improve logging of schema refresh errors
- [documentation] JAVA-2429: Document expected types on DefaultDriverOption
- [documentation] JAVA-2426: Fix month pattern in CqlDuration documentation
- [bug] JAVA-2451: Make zero a valid estimated size for PagingIterableSpliterator
- [bug] JAVA-2443: Compute prepared statement PK indices for protocol v3
- [bug] JAVA-2430: Use variable metadata to infer the routing keyspace on bound statements

And 2.2.1:

Depends on OSS driver 4.2.1.

- [documentation] JAVA-2453: Document expected types on DseDriverOption

As usual, the driver is available from Maven central:

<dependency>
  <groupId>com.datastax.oss</groupId>
  <artifactId>java-driver-core</artifactId>
  <version>4.2.1</version>
</dependency>

<dependency>
  <groupId>com.datastax.dse</groupId>
  <artifactId>dse-java-driver-core</artifactId>
  <version>2.2.1</version>
</dependency>

And from our download servers.

--

The Java driver team

Reply all
Reply to author
Forward
0 new messages