cql: set configurable restriction of DateTieredCompactionStrategy to warn by default
Setting a value of "warn" will still allow the create or alter commands, but will warn the user, with a message that will appear both at the log and also at cqlsh for example. This is another step towards deprecating DTCS. Users need to know we're moving towards this direction, and setting the default value to warn is needed for this. Next step is to set it to false, and finally remove it from the code base. Refs #8914. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com> Message-Id: <20211029184503.102936-1-raphaelsc@scylladb.com>
This commit is contained in:
committed by
Nadav Har'El
parent
034f79cfb4
commit
2bf47c902e
@@ -859,7 +859,7 @@ db::config::config(std::shared_ptr<db::extensions> exts)
|
||||
, flush_schema_tables_after_modification(this, "flush_schema_tables_after_modification", liveness::LiveUpdate, value_status::Used, true,
|
||||
"Flush tables in the system_schema keyspace after schema modification. This is required for crash recovery, but slows down tests and can be disabled for them")
|
||||
, restrict_replication_simplestrategy(this, "restrict_replication_simplestrategy", liveness::LiveUpdate, value_status::Used, db::tri_mode_restriction_t::mode::FALSE, "Controls whether to disable SimpleStrategy replication. Can be true, false, or warn.")
|
||||
, restrict_dtcs(this, "restrict_dtcs", liveness::LiveUpdate, value_status::Used, db::tri_mode_restriction_t::mode::FALSE, "Controls whether to prevent setting DateTieredCompactionStrategy. Can be true, false, or warn.")
|
||||
, restrict_dtcs(this, "restrict_dtcs", liveness::LiveUpdate, value_status::Used, db::tri_mode_restriction_t::mode::WARN, "Controls whether to prevent setting DateTieredCompactionStrategy. Can be true, false, or warn.")
|
||||
, default_log_level(this, "default_log_level", value_status::Used)
|
||||
, logger_log_level(this, "logger_log_level", value_status::Used)
|
||||
, log_to_stdout(this, "log_to_stdout", value_status::Used)
|
||||
|
||||
Reference in New Issue
Block a user