-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
db: config: introduce force-gossip-topology-changes #18284
db: config: introduce force-gossip-topology-changes #18284
Conversation
🔴 CI State: FAILURE✅ - Build Failed Tests (1/30308):Build Details:
|
Please avoid negative options. They require extra effort to evaluate a double negative. |
@avikivity in this case it's intended.
|
|
It's still possible to do it without double negatives. --consistent-topology=false (default true).
We should treat ourselves well too. |
I agree that we should get rid of double negatives, but I don't think
What about I'd like to confirm the final name before making any changes as they will take a lot of work (multiple PRs in multiple repos). |
I like it. @avikivity @tzach do you accept? |
I like it too |
0edc725
to
0692652
Compare
rebased |
0692652
to
003cd8b
Compare
We are going to make the `consistent-topology-changes` experimental feature unused in 6.0. However, the topology upgrade procedure will be manual and voluntary, so some 6.0 clusters will be using the gossip-based topology. Therefore, we need to continue testing the gossip-based topology. The solution is introducing a new flag, `force-gossip-topology-changes`, that will enforce the gossip-based topology in a fresh cluster. In this patch, we only introduce the parameter without any effect. Here is the explanation. Making `consistent-topology-changes` unused and introducing `force-gossip-topology-changes` requires adjustments in scylla-dtest. We want to merge changes to scylladb and scylla-dtest in a way that ensures all tests are run correctly during the whole process. If we merged all changes to scylladb first, before merging the scylla-dtest changes, all tests would run with the raft-based topology and the ones excluded in the raft-based topology would fail. We also can't merge all changes to scylla-dtest first. However, we can follow this plan: 1. scylladb: merge this patch 2. scylla-dtest: start using `force-gossip-topology-changes` in jobs that run without the raft-based topology 3. scylladb: merge the rest of the changes 4. scylla-dtest: merge the rest of the changes Ref scylladb#17802
003cd8b
to
80254e4
Compare
v2:
|
🟢 CI State: SUCCESS✅ - Build Build Details:
|
…al and make it the default for new clusters' from Patryk Jędrzejczak We move consistent cluster management out of experimental and make it the default for new clusters in 6.0. In code, we make the `consistent-topology-changes` flag unused and assumed to be true. In 6.0, the topology upgrade procedure will be manual and voluntary, so some clusters will still be using the gossip-based topology even though they support the raft-based topology. Therefore, we need to continue testing the gossip-based topology. This is possible by using the `force-gossip-topology-changes` flag introduced in #18284. Ref #17802 Closes #18285 * github.com:scylladb/scylladb: docs: raft.rst: update after removing consistent-topology-changes treewide: fix indentation after the previous patch db: config: make consistent-topology-changes unused test: lib: single_node_cql_env: restart a node in noninitial run_in_thread calls test: test_read_required_hosts: run with force-gossip-topology-changes storage_service: join_cluster: replace force_gossip_based_join with force-gossip-topology-changes storage_service: join_token_ring: fix finish_setup_after_join calls
We are going to make the
consistent-topology-changes
experimentalfeature unused in 6.0. However, the topology upgrade procedure will
be manual and voluntary, so some 6.0 clusters will be using the
gossip-based topology. Therefore, we need to continue testing the
gossip-based topology. The solution is introducing a new flag,
force-gossip-topology-changes
, that will enforce the gossip-basedtopology in a fresh cluster.
In this patch, we only introduce the parameter without any effect.
Here is the explanation. Making
consistent-topology-changes
unusedand introducing
force-gossip-topology-changes
requires adjustmentsin scylla-dtest. We want to merge changes to scylladb and scylla-dtest
in a way that ensures all tests are run correctly during the whole
process. If we merged all changes to scylladb first, before merging
the scylla-dtest changes, all tests would run with the raft-based
topology and the ones excluded in the raft-based topology would fail.
We also can't merge all changes to scylla-dtest first. However, we
can follow this plan:
force-gossip-topology-changes
in jobs that run without the raft-based topology
Ref #17802