Skip to content

Conversation

@muzarski
Copy link
Contributor

Implemented cass_cluster_set_max_schema_wait_time which corresponds to schema_agreement_timeout option in rust-driver.

Defined and implemented cass_cluster_set_schema_agreement_interval which corresponds to schema_agreement_interval option in rust-driver. This is an extension.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • PR description sums up the changes and reasons why they should be introduced.
  • [ ] I have implemented Rust unit tests for the features/changes introduced.
  • [ ] I have enabled appropriate tests in .github/workflows/build.yml in gtest_filter.
  • [ ] I have enabled appropriate tests in .github/workflows/cassandra.yml in gtest_filter.

Set the default value for schema agreement timeout (10k millis),
and implemented `cass_cluster_set_max_schema_wait_time`.
This is an extension. Since, rust-driver exposes such config option,
nothing stops us from exposing it in cpp-rust-driver as well.
The default (200ms) is taken directly from rust-driver.

Defined and implemented `cass_cluster_set_schema_agreement_interval`.
@muzarski muzarski self-assigned this Oct 24, 2024
@muzarski muzarski merged commit 8238086 into scylladb:master Nov 18, 2024
11 checks passed
@muzarski muzarski mentioned this pull request Nov 27, 2024
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 this pull request may close these issues.

2 participants