This module represents the implementation of the persistence-api for the Cassandra 4.0.x
version.
The current Cassandra version this module depends on is 4.0.7
.
In order to update to a newer patch version, please follow the guidelines below:
- Update the
cassandra.version
property in the pom.xml. - Update the
ccm.version
property (it-cassandra-4.0
profile section) in testing/pom.xml - Check the transitive dependencies of the
org.apache.cassandra:cassandra-all
for the new version. Make sure that the version of thecom.datastax.cassandra:cassandra-driver-core
thatcassandra-all
depends on, is same as in thecassandra.bundled-driver.version
property in the pom.xml. This dependency is set as optional in thecassandra-all
, but we need it to correctly handle UDFs. Note that transitive dependencies can be seen on mvnrepository.com. - Update the CI Dockerfile and set the new version in the
ccm create
command related to 4.0. Note that this will have no effect until the docker image is rebuilt and pushed to the remote repository, thus creating an issue for that would be a good idea. - Create a separate PR for bumping the Cassandra 4 version in the Quarkus-based API integration tests on the
v2.0.0
branch. Test profiles are defined in theapis/pom.xml
. - Make sure everything compiles and CI tests are green.
- Update the default docker-compose env variables to reference the new version.
- Update this
README.md
file with the new or updated instructions.
It's always good to validate your work against the pull requests that bumped the version in the past:
4.0.1
->4.0.3
stargate/stargate#1647