You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Lukasz Antoniak (Jira)" <ji...@apache.org> on 2025/08/25 09:37:00 UTC

[jira] [Created] (CASSANALYTICS-85) Bootstrapping Cassandra 4.0 with multiple token count fails

Lukasz Antoniak created CASSANALYTICS-85:
--------------------------------------------

             Summary: Bootstrapping Cassandra 4.0 with multiple token count fails
                 Key: CASSANALYTICS-85
                 URL: https://issues.apache.org/jira/browse/CASSANALYTICS-85
             Project: Apache Cassandra Analytics
          Issue Type: Bug
          Components: Build
            Reporter: Lukasz Antoniak
            Assignee: Lukasz Antoniak


Test case _CassandraAnalyticsSimpleMultipleTokensTest_ fails when started with Cassandra 4.0 dtest with below exception:
{code:java}
Caused by: java.lang.AssertionError: tokens function returned multiple tokens, only expected 1: [-7905747460161236406, -3952873730080618203, 0, 3952873730080618203]	at org.apache.cassandra.distributed.api.TokenSupplier.token(TokenSupplier.java:33)	at org.apache.cassandra.distributed.impl.AbstractCluster.createInstanceConfig(AbstractCluster.java:460)	at org.apache.cassandra.distributed.impl.AbstractCluster.<init>(AbstractCluster.java:441)	at org.apache.cassandra.distributed.UpgradeableCluster.<init>(UpgradeableCluster.java:40)	at org.apache.cassandra.distributed.UpgradeableCluster$Builder.lambda$new$0(UpgradeableCluster.java:86)	at org.apache.cassandra.distributed.shared.AbstractBuilder.createWithoutStarting(AbstractBuilder.java:183)	at org.apache.cassandra.distributed.shared.AbstractBuilder.start(AbstractBuilder.java:165)	at org.apache.cassandra.distributed.impl.CassandraCluster.initializeCluster(CassandraCluster.java:146)	at org.apache.cassandra.distributed.impl.CassandraCluster.<init>(CassandraCluster.java:79)	... 87 more {code}
This issue does not show from CI, because CASSANDRA_VERSION environment variable is set to 4.1, even though DTEST JAR is pointing 4.0.17.

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org