Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable Cassandra 4.0 in CI and fix failing tests #409

Open
adutra opened this issue Feb 24, 2022 · 2 comments · May be fixed by #410
Open

Re-enable Cassandra 4.0 in CI and fix failing tests #409

adutra opened this issue Feb 24, 2022 · 2 comments · May be fixed by #410
Milestone

Comments

@adutra
Copy link
Contributor

adutra commented Feb 24, 2022

We must re-enable Cassandra 4.0 and fix all the partitioner tests. They are currently failing with 4.0 for unknown reasons.

┆Issue is synchronized with this Jira Task by Unito

@adutra adutra added this to the 1.9.0 milestone Feb 24, 2022
@adutra
Copy link
Contributor Author

adutra commented Feb 24, 2022

It turns out it could be a problem with how CCM is enabling vnodes in Cassandra 4.0. Upgrading the ccm version might solve it.

@adutra adutra linked a pull request Feb 24, 2022 that will close this issue
@adutra
Copy link
Contributor Author

adutra commented Feb 24, 2022

Confirmed that the problem is vnodes:

ccm create ccm1 -i 127.0.0. -n 3 -v 4.0.1 --vnodes
ccm start
ccm node1 nodetool status

Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address    Load       Tokens  Owns (effective)  Host ID                               Rack
UN  127.0.0.2  73.45 KiB  256     100.0%            b2905481-bdfe-448e-bbb5-eb28781002a6  rack1
UN  127.0.0.1  73.49 KiB  256     100.0%            6a250e50-3c55-4806-91d2-d809c536a3ab  rack1

Observe the broken token ownership and that one node is not showing up at all.

The public version of CCM does not have the issue, but the private version used at DataStax does. We are working on updating our Docker images to use the public version.

@adutra adutra modified the milestones: 1.9.0, 1.10.0 Apr 4, 2022
@weideng1 weideng1 modified the milestones: 1.10.0, 1.11.0 Aug 12, 2022
@absurdfarce absurdfarce modified the milestones: 1.11.0, 1.12.0 Jul 13, 2023
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 a pull request may close this issue.

3 participants