scylladb / scylladb/cpp-rs-driver
Update ccm wrapper
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26
- Forks
- 19
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 7
Description
In order to unlock integration tests driver to be ran on modern cassandra and scylla we need to implement an API for manipulating configuration and do that in the same way as scylladb/java-driver does:
StringBuilder updateConfArguments = new StringBuilder();
for (Map.Entry<String, Object> conf : cassandraConfiguration.entrySet()) {
updateConfArguments.append(conf.getKey()).append(':').append(conf.getValue()).append(' ');
}
if (getCassandraVersion().compareTo(Version.V2_2_0) >= 0 && !SCYLLA_ENABLEMENT) {
// @IntegrationTestDisabledScyllaJVMArgs @IntegrationTestDisabledScyllaUDF
if (getCassandraVersion().compareTo(Version.V4_1_0) >= 0) {
updateConfArguments.append("user_defined_functions_enabled:true").append(' ');
} else {
updateConfArguments.append("enable_user_defined_functions:true").append(' ');
}
}
if (updateConfArguments.length() > 0) {
execute("updateconf", updateConfArguments.toString());
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the ccm wrapper and the integration-test driver setup, then compare their configuration handling with the linked scylladb/java-driver CcmBridge implementation. Done means the wrapper exposes configuration manipulation, applies the version-specific UDF setting, and enables integration tests against modern Cassandra and Scylla versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, rust
- Domain
- testing-qa, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100