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

Add support for Cassandra 4.1.2 #467

Open
Gor027 opened this issue Jun 6, 2023 · 2 comments
Open

Add support for Cassandra 4.1.2 #467

Gor027 opened this issue Jun 6, 2023 · 2 comments

Comments

@Gor027
Copy link
Contributor

Gor027 commented Jun 6, 2023

Currently, ccm fails to start a Cassandra cluster with version 4.1.2. The reason is the change in the naming of the parameters of the cassandra.yaml configuration file:
https://cassandra.apache.org/doc/latest/cassandra/configuration/configuration.html
As the names of the parameters are hardcoded, to support the latest version of Cassandra they need to be modified according to the table mentioned in the link above.

@fruch
Copy link
Contributor

fruch commented Jun 6, 2023

I did manage to get dtest running o.k. with cassandra 4.1.2.
https://github.com/scylladb/scylla-dtest/pull/3130/commits/9ea68a10cc461f8361df4d77a75e34c3ea0d688f

CCM itself doesn't hardcode any of those values, it's up to who uses CCM to be aware of this difference.

I don't think CCM should be translating those automatically

@Gor027
Copy link
Contributor Author

Gor027 commented Jun 12, 2023

There are 2 things that I would like to modify to avoid repeating modifications in the drivers:

  • When using the option --rpc-timeout in ccm updateconf it adds timeout options with names containing their units (*_in_ms)
  • I think it is not possible to set --batch-cl option to None as it has a default False value, so commitlog_sync_period_in_ms and commitlog_sync_batch_window_in_ms are always added to cluster.conf and cassandra.yaml files.

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

No branches or pull requests

2 participants