diff --git a/versioned/storage/cassandra2-tests/src/main/java/org/projectnessie/versioned/storage/cassandra2tests/AbstractCassandraBackendTestFactory.java b/versioned/storage/cassandra2-tests/src/main/java/org/projectnessie/versioned/storage/cassandra2tests/AbstractCassandraBackendTestFactory.java index d3450ee4fdb..d89aab1a6fd 100644 --- a/versioned/storage/cassandra2-tests/src/main/java/org/projectnessie/versioned/storage/cassandra2tests/AbstractCassandraBackendTestFactory.java +++ b/versioned/storage/cassandra2-tests/src/main/java/org/projectnessie/versioned/storage/cassandra2tests/AbstractCassandraBackendTestFactory.java @@ -81,10 +81,15 @@ private void maybeCreateKeyspace(CqlSession session) { .map(dc -> format("'%s': %d", dc, replicationFactor)) .collect(Collectors.joining(", ")); + // Disable tablets in ScyllaDB, because those are not compatible with LWTs (yet?). See + // https://opensource.docs.scylladb.com/stable/architecture/tablets.html#limitations-and-unsupported-features + String scyllaClause = "scylladb".equals(dbName) ? " AND tablets = {'enabled': false}" : ""; + session.execute( format( - "CREATE KEYSPACE IF NOT EXISTS %s WITH replication = {'class': 'NetworkTopologyStrategy', %s};", - KEYSPACE_FOR_TEST, datacenters)); + "CREATE KEYSPACE IF NOT EXISTS %s WITH replication = {'class': 'NetworkTopologyStrategy', %s}%s;", + KEYSPACE_FOR_TEST, datacenters, scyllaClause)); + session.refreshSchema(); } diff --git a/versioned/storage/cassandra2-tests/src/main/resources/org/projectnessie/versioned/storage/cassandra2tests/Dockerfile-scylladb-version b/versioned/storage/cassandra2-tests/src/main/resources/org/projectnessie/versioned/storage/cassandra2tests/Dockerfile-scylladb-version index 914c34a459b..65e8891ebf5 100644 --- a/versioned/storage/cassandra2-tests/src/main/resources/org/projectnessie/versioned/storage/cassandra2tests/Dockerfile-scylladb-version +++ b/versioned/storage/cassandra2-tests/src/main/resources/org/projectnessie/versioned/storage/cassandra2tests/Dockerfile-scylladb-version @@ -1,3 +1,3 @@ # Dockerfile to provide the image name and tag to a test. # Version is managed by Renovate - do not edit. -FROM docker.io/scylladb/scylla:5.4.9 +FROM docker.io/scylladb/scylla:6.1.0