Skip to content

Merge upstream apache/cassandra-java-driver 4.19.2 and bump version to 4.19.2.0 - #895

Merged
nikagra merged 77 commits into
scylladb:scylla-4.xfrom
nikagra:scylla-4.x-merge-4.19.2
May 22, 2026
Merged

nikagra merged 77 commits into
scylladb:scylla-4.xfrom
nikagra:scylla-4.x-merge-4.19.2

Conversation

@nikagra

@nikagra nikagra commented May 18, 2026 •

Copy link
Copy Markdown

Closes #894

Summary

Merges changes from apache/cassandra-java-driver tag 4.19.2 into scylla-4.x and bumps the ScyllaDB driver version to 4.19.2.0-SNAPSHOT.

The last upstream merge was at Apache tag 4.19.0 (PR #467).

Upstream changes (4.19.0 → 4.19.2)

4.19.0 → 4.19.1

  • CASSJAVA-80 — Support configuration to disable DNS reverse-lookups for SAN validation
  • CASSJAVA-40 — Driver testing against Java 21
  • CASSJAVA-102 — Fix revapi spurious complaints about optional dependencies
  • CASSJAVA-97 — Let users inject an ID for each request and write to the custom payload
  • CASSJAVA-89 — Support schema options that changed in Cassandra 5.0
  • Upgrade Netty to 4.1.119
  • Add SubnetAddressTranslator for IP translation on private networks
  • Remove unnecessary locking in DefaultNettyOptions
  • Eliminate lock in ConcurrencyLimitingRequestThrottler

4.19.1 → 4.19.2

  • CASSJAVA-116 — Retry or Speculative Execution with RequestIdGenerator throws "Duplicate Key"

Conflict resolution notes

  • Removed Apache-specific infrastructure files: .asf.yaml, Jenkinsfile-datastax, Jenkinsfile-asf, ci/create-user.sh, ci/run-tests.sh
  • Kept ScyllaDB groupId (com.scylladb) and removed <parent>org.apache/apache</parent>
  • Kept ScyllaDB's more up-to-date library versions (netty, jackson, etc.)
  • Took upstream's lock-free ConcurrencyLimitingRequestThrottler implementation
  • Kept ScyllaDB's shard-aware channel logic in CqlRequestHandler
  • Kept BackendType.SCYLLA and ScyllaDB-specific test infrastructure
  • Kept ScyllaDB's CCM/Scylla version handling in CcmBridge

lukasz-antoniak and others added 30 commits June 3, 2024 13:48
patch by Lukasz Antoniak; reviewed by Andy Tolbert, and Bret McGuire for CASSANDRA-19635
patch by Lukasz Antoniak; reviewed by Bret McGuire for CASSANDRA-19635
Those repeated calls account for a non-negligible portion of my application
CPU (0.6%) and can definitly be a final field so that it gets resolved only
once per CqlRequestHandler.

patch by Benoit Tellier; reviewed by Andy Tolbert, and Bret McGuire
reference: apache#1623
patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-19854
DefaultBoundStatement#getRoutingKey has logic to infer the
routing key when no one has explicitly called setRoutingKey
or otherwise set the routing key on the statement.
It however doesn't check for cases where nothing has been
bound yet on the statement.
This causes more problems if the user decides to get a
BoundStatementBuilder from the PreparedStatement, set some
fields on it, and then copy it by constructing new
BoundStatementBuilder objects with the BoundStatement as a
parameter, since the empty ByteBuffer gets copied to all
bound statements, resulting in all requests being targeted
to the same Cassandra node in a token-aware load balancing
policy.

patch by Ammar Khaku; reviewed by Andy Tolbert, and Bret McGuire
reference: apache#1620
…ted future

patch by Lukasz Antoniak; reviewed by Andy Tolbert, and Bret McGuire for JAVA-3167
patch by Lukasz Antoniak; reviewed by Bret McGuire
reference: apache#1955
…allow subsequent tests to run

patch by Henry Hughes; reviewed by Alexandre Dutra and Andy Tolbert for JAVA-3117
patch by Lukasz Antoniak; reviewed by Andy Tolbert and Chris Lohfink for JAVA-3149
patch by Lukasz Antoniak; reviewed by Bret McGuire
reference: apache#1939
It might take some (small) time for callback handling when the
throttler request proceeds to submission.

Before this change, the throttler proceed request will happen while
holding the lock, preventing other tasks from proceeding when there is
spare capacity and even preventing tasks from enqueuing until the
callback completes.

By tracking the expected outcome, we can perform the callback outside
of the lock. This means that request registration and submission can
proceed even when a long callback is being processed.

patch by Jason Koch; Reviewed by Andy Tolbert and Chris Lohfink for CASSANDRA-19922
…kReturnValue

Since the driver's default implementation is for
BatchStatement and SimpleStatement methods to be immutable,
we should annotate those methods with @CheckReturnValue.
Statement#setNowInSeconds implementations are immutable so
annotate that too.

patch by Ammar Khaku; reviewed by Andy Tolbert and Bret McGuire
reference: apache#1607
patch by Bret McGuire; reviewed by Andy Tolbert and Alexandre Dutra
reference: apache#1962
after exceeding max orphan ids

patch by Christian Aistleitner; reviewed by Andy Tolbert, and Bret McGuire for apache#1938
 patch by Siyao (Jane) He; reviewed by Mick Semb Wever for CASSANDRA-19832
patch by Lukasz Antoniak; reviewed by Bret McGuire and Chris Lohfink
patch by Abe Ratnofsky; reviewed by Andy Tolbert and Chris Lohfink for CASSANDRA-20001
patch by Bret McGuire; reviewed by Bret McGuire and Andy Tolbert for CASSANDRA-19930
If super.after() throws an Exception `CURRENT` flag is never dropped
which leads next tests to fail with IllegalStateException("Attempting to use a Ccm rule while another is in use.  This is disallowed")

Patch by Dmitry Kropachev; reviewed by Andy Tolbert and Bret McGuire for JAVA-3117
patch by Jane He; reviewed by Alexandre Dutra and Bret McGuire for JAVA-3051
 patch by Siyao (Jane) He; reviewed by Mick Semb Wever for CASSJAVA-25
… with DataStax HCD 1.0.0

patch by Lukasz Antoniak; reviewed by Bret McGuire
reference: apache#1958
patch by Stefan Miklosovic; reviewed by Bret McGuire for CASSJAVA-2
…assandra versions.

patch by Bret McGuire; reviewed by Bret McGuire for CASSJAVA-54
Updating the link to Jira.

Previously we had a component in the CASSANDRA Jira project but now we have a project for each driver - in the case of Java, it's CASSJAVA.

Added CASSJAVA to .asf.yaml

patch by Jeremy Hanna; reviewed by Bret McGuire for CASSJAVA-61
patch by Lukasz Antoniak; reviewed by Alexandre Dutra and Bret McGuire for CASSJAVA-52
patch by Ammar Khaku; reviewed by Andy Tolbert and Bret McGuire
reference: apache#1635
With some sysprops enabled this will actually be respected which completely borks Astra routing.

patch by Bret McGuire; reviewed by Alexandre Dutra and Bret McGuire for CASSJAVA-55
@nikagra
nikagra force-pushed the scylla-4.x-merge-4.19.2 branch from e9b8ce1 to 51d5284 Compare May 22, 2026 14:01
@nikagra
nikagra marked this pull request as ready for review May 22, 2026 14:05
nikagra added 4 commits May 22, 2026 19:53
…thub.com/apache/cassandra-java-driver into scylla-4.x-merge-4.19.2

Following conflict resolutions and additional changes were made:
- Removed Apache-specific infrastructure files: .asf.yaml, Jenkinsfile-datastax,
  Jenkinsfile-asf, ci/create-user.sh, ci/run-tests.sh
- Kept ScyllaDB groupId (com.scylladb) and version (4.19.0.10-SNAPSHOT) in pom.xml files
- Kept ScyllaDB's more up-to-date library versions (netty, jackson, etc.)
- Removed <parent>org.apache/apache</parent> from root pom.xml
- Took upstream's lock-free ConcurrencyLimitingRequestThrottler implementation
- Took upstream's CASSJAVA-80: SSL_ALLOW_DNS_REVERSE_LOOKUP_SAN config option
- Took upstream's CASSJAVA-92: local DC in nodetool clientstats
- Took upstream's CASSJAVA-97: RequestIdGenerator support
- Took upstream's CASSJAVA-89: schema options for Cassandra 5.0
- Took upstream's SubnetAddressTranslator
- Kept ScyllaDB's shard-aware channel logic in CqlRequestHandler
- Kept BackendType.SCYLLA and ScyllaDB-specific test infrastructure
- Kept ScyllaDB's CCM/Scylla version handling in CcmBridge
- Kept ScyllaDB's README and documentation
- BasicLoadBalancingPolicy: add missing closing brace for getLocalRack()
- DefaultLoadBalancingPolicy: remove unused ThreadLocalRandom import
- OptionalLocalDcHelper: add LinkedHashSet import; restore upstream
  checkLocalDatacenterCompatibility() call + ScyllaDB all-nodes DC
  mismatch warning
- InitialNodeListRefresh / MetadataManager: restore ScyllaDB version
- CqlRequestHandler: fix logPrefix -> handlerLogPrefix; fix
  NodeResponseCallback constructor
- DefaultSelect / Select: CqlDuration import, withOrderings, short
  constructor fixes
- DefaultDriverOption: fix {link inet.ipaddr} -> {code} in javadoc
- CqlPrepareAsyncProcessor: restore ScyllaDB PR scylladb#892 isDone() guard
- CcmBridge: remove upstream updateconf block that unconditionally
  enabled UDF on Scylla
- pom.xml: add revapi analysisConfiguration suppressing
  java.class.externalClassExposedInAPI
- DeleteIT: add 3 missing imports
- RequestIdGeneratorIT: @rule -> @ClassRule / static for correct
  class-level @BackendRequirement evaluation
- DeleteReactiveIT: revert to CcmRule.getInstance()
…eporting

CASSJAVA-92 added getStartupConfiguration() to LoadBalancingPolicy, wired
it into StartupOptionsBuilder.build() via a new DRIVER_BAGGAGE key, and
exposed configuredLocalDc() in OptionalLocalDcHelper.  We are not sending
driver configuration to the server in this form; this will be re-implemented
separately.

Changes:
- LoadBalancingPolicy: remove getStartupConfiguration() default method
- StartupOptionsBuilder: remove DRIVER_BAGGAGE key and driverBaggage()
  helper; drop Jackson / ImmutableMap / LBP imports
- DefaultDriverContext: revert LazyReference<StartupOptionsBuilder> back to
  LazyReference<Map<String,String>>; rename buildStartupOptionsFactory ->
  buildStartupOptions (returns built map directly)
- BasicLoadBalancingPolicy: remove getStartupConfiguration() override;
  revert getLocalDatacenter() visibility to protected; drop ImmutableMap import
- DefaultLoadBalancingPolicy: remove getStartupConfiguration() override;
  drop ImmutableMap import
- OptionalLocalDcHelper: inline configuredLocalDc() logic back into
  discoverLocalDc(); remove the extracted public method
- MockedDriverContextFactory: restore Optional<DriverExecutionProfile>
  factory pattern; remove getLoadBalancingPolicies() / getConsistencyLevelRegistry()
  overrides and all CASSJAVA-92 helper methods; retain ScyllaDB LWT stub
- StartupOptionsBuilderTest: remove two CASSJAVA-92-specific tests
- DefaultDriverContextTest / FixedHostNameAddressTranslatorTest /
  SubnetAddressTranslatorTest: update call sites to Optional.of(profile)
@nikagra
nikagra force-pushed the scylla-4.x-merge-4.19.2 branch from 51d5284 to 57f8fd4 Compare May 22, 2026 17:56
@nikagra
nikagra merged commit 707f7cf into scylladb:scylla-4.x May 22, 2026
38 of 40 checks passed
@nikagra
nikagra deleted the scylla-4.x-merge-4.19.2 branch May 22, 2026 20:27
nikagra added a commit to nikagra/java-driver that referenced this pull request Oct 20, 2026
Two upstream syncs were squash-merged: scylladb#467 (4.19.0) and scylladb#895 (4.19.2).
Their content is on scylla-4.x, but the apache tags are not ancestors, so
merge-base still points at 4.18.1. Merge 4.19.2 with the ours strategy:
no file changes, only the missing parent, which makes 4.19.0 through
4.19.2 reachable again.

Refs: DRIVER-1129

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
dkropachev pushed a commit that referenced this pull request Oct 20, 2026
Two upstream syncs were squash-merged: #467 (4.19.0) and #895 (4.19.2).
#1280 attempted this repair but was squash-merged too, so it landed as
an empty commit. Merge 4.19.2 with the ours strategy: no file changes,
only the missing parent, which makes 4.19.0 through 4.19.2 reachable.

Refs: DRIVER-1129

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
nikagra added a commit to nikagra/java-driver that referenced this pull request Oct 21, 2026
osgi-tests depends on com.scylladb:java-driver-guava-shaded, so
versionAsInProject() could never resolve the org.apache.cassandra
coordinate kept since scylladb#895, and every OSGi IT failed at configuration.
No CI lane runs the module; scylladb#1293 tracks that.

Refs: DRIVER-1126
Co-Authored-By: Claude Fable 5.1 <[email protected]>
nikagra added a commit to nikagra/java-driver that referenced this pull request Oct 21, 2026
osgi-tests depends on com.scylladb:java-driver-guava-shaded, so
versionAsInProject() could never resolve the org.apache.cassandra
coordinate kept since scylladb#895, and every OSGi IT failed at configuration.
No CI lane runs the module; scylladb#1293 tracks that.

Refs: DRIVER-1126
Co-Authored-By: Claude Fable 5.1 <[email protected]>
nikagra added a commit to nikagra/java-driver that referenced this pull request Oct 23, 2026
Two slips in BundleOptions. The shaded guava bundle kept the
org.apache.cassandra groupId from scylladb#895, which versionAsInProject()
cannot resolve through our dependencies.properties. The 4.19.3 merge
resolved the lz4Bundle() conflict to our side and dropped upstream's
CASSJAVA-122 sun.misc extension bundle, which lz4-java imports. Every
Osgi*IT is @ignore'd and no lane runs them (scylladb#1293), so neither showed.

Refs: DRIVER-1126
Co-Authored-By: Claude Fable 5.1 <[email protected]>
nikagra added a commit to nikagra/java-driver that referenced this pull request Oct 23, 2026
Two slips in BundleOptions. The shaded guava bundle kept the
org.apache.cassandra groupId from scylladb#895, which versionAsInProject()
cannot resolve through our dependencies.properties. The 4.19.3 merge
resolved the lz4Bundle() conflict to our side and dropped upstream's
CASSJAVA-122 sun.misc extension bundle, which lz4-java imports. Every
Osgi*IT is @ignore'd and no lane runs them (scylladb#1293), so neither showed.

Refs: DRIVER-1126
Co-Authored-By: Claude Fable 5.1 <[email protected]>
nikagra added a commit to nikagra/java-driver that referenced this pull request Oct 23, 2026
Two slips in BundleOptions. The shaded guava bundle kept the
org.apache.cassandra groupId from scylladb#895, which versionAsInProject()
cannot resolve through our dependencies.properties. The 4.19.3 merge
resolved the lz4Bundle() conflict to our side and dropped upstream's
CASSJAVA-122 sun.misc extension bundle, which lz4-java imports. Every
Osgi*IT is @ignore'd and no lane runs them (scylladb#1293), so neither showed.

Refs: DRIVER-1126
Co-Authored-By: Claude Fable 5.1 <[email protected]>
dkropachev pushed a commit that referenced this pull request Oct 28, 2026
* [maven-release-plugin] prepare for next development iteration

* Removing interface to Travis CI

Patch by Bret McGuire; reviewed by Andy Tolbert and Bret McGuire
reference: apache#2066

* Replace outdated link in README

patch by April Murphy; reviewed by Bret McGuire and Lukasz Antoniak
reference: apache#2064

* ninja-fix: Remove ASF donation message

* Update LZ4 and Netty dependencies for CVE response

The primary goal here is to address CVE-2025-12183. Netty includes a
dependency on vulnerable versions of lz4-java, so update to a fixed
version of Netty as well. On the C* server side, we opted to move to the
new community fork of lz4-java, so match that decision here
(CASSANDRA-21052).

patch by Abe Ratnofsky; reviewed by Francisco Guerrero for CASSJAVA-113

* Bump logback to most recent Java8-compatible version

patch by Bret McGuire; reviewed by Bret McGuire and Lukasz Antoniak
reference: apache#2051

* ninja-fix - adding an extra space to render the page correctly with mkdocs

I've been looking into details on custom codes and noticed that the there is an issue with rendering bullet points on the following page: https://apache.github.io/cassandra-java-driver/4.19.0/core/custom_codecs/

* ninja-fix Updating a few indented lists that were observed to not render correctly while working on the previous ninja-fix

* Re-work ordering clause support in query builder behind a single OrderingClause abstraction.  This allows for
custom impls to define their own logic for managing "ORDER BY" clauses.

patch by Bret McGuire; reviewed by Bret McGuire and Lukasz Antoniak
reference: apache#2047

* ninja-fix We apparently had some unformatted files slip in in the last commit

* CASSJAVA-122 Fix OSGi LZ4 test

patch by Lukasz Antoniak; reviewed by Bret McGuire and Lukasz Antoniak
reference: apache#2075

* Bump Jackson to 2.20.1

patch by Bret McGuire: reviewed by Bret McGuire and Lukasz Antoniak
reference: apache#2076

* CASSJAVA-108 Update ESRI (and remove org.json) dependencies

patch by Bret McGuire; reviewed by Bret McGuire and Lukasz Antoniak
reference: apache#2052

* ninja-fix Update Jenkins label to Jammy

* Revert "ninja-fix Update Jenkins label to Jammy"

This reverts commit de96ce8.

* Fix race condition in ClockSeqAndNodeContainer

patch by Jason Koch; reviewed by Lukasz Antoniak and Bret McGuire
reference: apache#2050

* CASSJAVA-3: Fix ordering of LIMIT and PER PARTITION LIMIT clauses

patch by David Stringer; reviewed by Lukasz Antoniak and Bret McGuire
reference: apache#2022

* CASSJAVA-30: Update CONTRIBUTING.md
patch by Jane He; reviewed by Bret McGuire and Andy Tolbert

* CASSJAVA-104: Fix Flaky tests
patch by Jane He; review by
Bret McGuire and Andy Tolbert

* CASSJAVA-109, CASSJAVA-117: Manual and API References after donation, Build CI for Java Driver Doc
Patch by Jane He and
Łukasz Antoniak; Reviewed by Bret McGuire

* [maven-release-plugin] prepare release 4.19.3

* [maven-release-plugin] prepare for next development iteration

* Revert "[maven-release-plugin] prepare for next development iteration"

This reverts commit 342088c.

* Revert "[maven-release-plugin] prepare release 4.19.3"

This reverts commit 375e4b5.

* Revert apache#2051 and replace it with something closer to the intent of the original PR (apache#1901).

The change that was actually merged attempted to bump us up to the most recent Java8-compatible
logback impl.  This moved us from 1.2.x to 1.3.x which in turn brought some dependency changes
that were excessive, especially for a patch release.

patch by Bret McGuire; reviewed by Andy Tolbert and Abe Ratnofsky
reference: apache#2088

* Add changelog for 4.19.3

* [maven-release-plugin] prepare release 4.19.3

* Revert "[maven-release-plugin] prepare release 4.19.3"

This reverts commit 8e2e70c.

* [maven-release-plugin] prepare release 4.19.3

* [maven-release-plugin] prepare for next development iteration

* Add security-model discoverability (AGENTS.md -> SECURITY.md -> security model)

Wires the conventional AGENTS.md -> SECURITY.md -> security model chain so automated tooling can mechanically discover the project's security model. No model content is changed.

Generated-by: Claude Opus 4.8 (1M context)

patch by Jarek Potiuk; reviewed by Bret McGuire
reference: apache#2092

* ninja-fix Fix equality operation for Geometry subclasses

* CASSJAVA-131: Add Retention Requirement to Jenkinsfile-asf
patch by Jane He; reviewed by Michael Semb Wever

* CASSJAVA-136 Ninja fix to correct geometry equality actually broke geometry equality

patch by Bret McGuire; reviewed by Jane He

* CASSJAVA-137 Bump Netty to 4.1.138

patch by Bret McGuire; reviewed by Andy Tolbert

* ninja-fix Changelog entries for 4.19.4

* ninja-fix Update scm entry in root pom.xml to match what was done for 3.x

* ninja-fix XML formatting fix for pom.xml

* [maven-release-plugin] prepare release 4.19.4

* docs: restore Sphinx link style in merged manual pages

Upstream rewrote manual links to mkdocs' dir/README.md form, and the
lines without conflicts merged that way. Put them back to our ../dir/
form: the docs hook rewrites both forms and GitHub renders both, so
this is source consistency rather than a build requirement. Record the
rule in CONTRIBUTING so the next sync does not rediscover it.
Upstream's anchor and typo fixes stay.

Refs: DRIVER-1126
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* build: keep the mapper-runtime revapi baseline

Upstream 4.19.3 reset its revapi baselines after its release; the
other modules kept ours through conflicts, but mapper-runtime merged
cleanly and lost its entries. They are DataStax-era ignores (JAVA-2369,
JAVA-2633, JAVA-2792), inert against the 4.19.2.3 baseline revapi
resolves, so this only keeps the file identical to the line.

Refs: DRIVER-1126
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* docs: fix anchors, nesting and a stale version from the merge

Upstream's link to #inflighthandler was dead because the fork had
renamed the heading to match its own broken link; restore upstream's
heading. Re-indent the custom codecs list so the runtime snippet stays
inside its item, and lift the lz4-java example to the pinned version.

Refs: DRIVER-1126
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* fix: compare geometries by the wrapped ESRI geometry

Since 4.19.3 equals() bound to OGCGeometry.equals(Object), which ESRI
1.x does not declare, so an application still on 1.x silently fell
back to identity comparison. Compare what that method compares, the
wrapped com.esri.core.geometry.Geometry and the spatial reference,
through API both 1.x and 2.x have; hashCode() already hashes the
geometry. The upgrade note no longer needs the 2.2.4 requirement.

Refs: DRIVER-1126
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* test: restore the OSGi bundle provisioning the merge broke

Two slips in BundleOptions. The shaded guava bundle kept the
org.apache.cassandra groupId from #895, which versionAsInProject()
cannot resolve through our dependencies.properties. The 4.19.3 merge
resolved the lz4Bundle() conflict to our side and dropped upstream's
CASSJAVA-122 sun.misc extension bundle, which lz4-java imports. Every
Osgi*IT is @ignore'd and no lane runs them (#1293), so neither showed.

Refs: DRIVER-1126
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* test: drop the prepared-cache retention the merge made redundant

Upstream 4.19.3 moved weakValues() from the protected constructor's
base builder into the public constructor's decorator, so a subclass
that passes its own decorator now gets a strong cache. Our
TestCqlPrepareAsyncProcessor only retained the cached futures to stop
them being collected mid-test. Take upstream's comment, drop the
retention set and the process() override, and require the removal
event again instead of checking it only when present.

Refs: DRIVER-1126
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* docs: correct the ordering javadoc taken from upstream

Select.orderBy() still promises to append to the current list, but
since the OrderingClause rework an ANN ordering is replaced instead,
and orderByAnnOf() replaces any column ordering; say so. ANN stands
for approximate, not adjacent, nearest neighbor.

Refs: DRIVER-1126
Co-Authored-By: Claude Fable 5.1 <[email protected]>

* docs: drop fork entries from the upstream changelog

changelog/README.md tracks upstream releases only. The 4.19.2.3 section
came in with feature PRs; the same changes are described in the upgrade
guide and the GitHub release notes.

Refs: DRIVER-1126
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* build: bump version to 4.19.4.0-SNAPSHOT

The line now carries upstream 4.19.4, so the next fork release
restarts the fourth component at 4.19.4.0, as 4.19.2.0 did after the
4.19.2 sync.

Refs: DRIVER-1126
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* test: await the prepared-cache removal event

Guava lowers the cache size before it calls the removal listener, so the
size wait alone left the removed-query-id assertion racing the event.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix: keep ANN ordering on an empty orderByIds map

The ordering-clause rework made orderByIds(emptyMap) replace an ANN
ordering with nothing; 4.19.2.x kept it. Document the map overloads'
replace behaviour and fix a typo in CqlPrepareAsyncProcessor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: absurdfarce <[email protected]>
Co-authored-by: April I. Murphy <[email protected]>
Co-authored-by: Lukasz Antoniak <[email protected]>
Co-authored-by: Abe Ratnofsky <[email protected]>
Co-authored-by: absurdfarce <[email protected]>
Co-authored-by: Mikhail Laptev <[email protected]>
Co-authored-by: jasonk000 <[email protected]>
Co-authored-by: David Stringer <[email protected]>
Co-authored-by: janehe <[email protected]>
Co-authored-by: janehe <[email protected]>
Co-authored-by: Abe Ratnofsky <[email protected]>
Co-authored-by: Abe Ratnofsky <[email protected]>
Co-authored-by: Jarek Potiuk <[email protected]>
Co-authored-by: Jane He <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge upstream apache/cassandra-java-driver 4.19.2 and bump version to 4.19.2.0