db: mark --experimental option deprecated
The documentation for --experimental config option states that it enables all experimental features, but this is no longer true, i.e.: raft feature is not enabled with it and should be explicitly enabled via `--experimental-features=raft` switch (we don't want to enable it by default alongside other features). Since the flag doesn't do what it's intended to, we should mark it as "deprecated", because documenting each exception (there could be more than only raft in the future) will be a burden and docs will constantly go out-of-sync with the code. Adjust the description for the option to reflect that, mark it "deprecated" and suggest using --experimental-features, instead. Fixes: #9467 Signed-off-by: Pavel Solodovnikov <pa.solodovnikov@scylladb.com> Message-Id: <20211012093005.20871-2-pa.solodovnikov@scylladb.com>
This commit is contained in:
committed by
Avi Kivity
parent
162f1899e8
commit
8b917f7c99
@@ -753,7 +753,7 @@ db::config::config(std::shared_ptr<db::extensions> exts)
|
||||
, developer_mode(this, "developer_mode", value_status::Used, false, "Relax environment checks. Setting to true can reduce performance and reliability significantly.")
|
||||
, skip_wait_for_gossip_to_settle(this, "skip_wait_for_gossip_to_settle", value_status::Used, -1, "An integer to configure the wait for gossip to settle. -1: wait normally, 0: do not wait at all, n: wait for at most n polls. Same as -Dcassandra.skip_wait_for_gossip_to_settle in cassandra.")
|
||||
, force_gossip_generation(this, "force_gossip_generation", liveness::LiveUpdate, value_status::Used, -1 , "Force gossip to use the generation number provided by user")
|
||||
, experimental(this, "experimental", value_status::Used, false, "Set to true to unlock all experimental features.")
|
||||
, experimental(this, "experimental", value_status::Used, false, "[Deprecated] Set to true to unlock all experimental features (except 'raft' feature, which should be enabled explicitly via 'experimental-features' option). Please use 'experimental-features', instead.")
|
||||
, experimental_features(this, "experimental_features", value_status::Used, {}, "Unlock experimental features provided as the option arguments (possible values: 'lwt', 'cdc', 'udf', 'alternator-streams', 'raft'). Can be repeated.")
|
||||
, lsa_reclamation_step(this, "lsa_reclamation_step", value_status::Used, 1, "Minimum number of segments to reclaim in a single step")
|
||||
, prometheus_port(this, "prometheus_port", value_status::Used, 9180, "Prometheus port, set to zero to disable")
|
||||
|
||||
Reference in New Issue
Block a user