mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-04 14:03:06 +00:00
db/config: make auto_snapshot live-updateable
We're already getting the latest value of `auto_snapshot` in database::drop_table and database::truncate_table_on_all_shards. Marking auto_snapshot as LiveUpdate to allow updating it via CQL or by reloading the configuration from scylla.yaml while the node is up. Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
@@ -1053,7 +1053,7 @@ db::config::config(std::shared_ptr<db::extensions> exts)
|
||||
/**
|
||||
* @Group Advanced automatic backup setting
|
||||
*/
|
||||
, auto_snapshot(this, "auto_snapshot", value_status::Used, true,
|
||||
, auto_snapshot(this, "auto_snapshot", liveness::LiveUpdate, value_status::Used, true,
|
||||
"Enable or disable whether a snapshot is taken of the data before keyspace truncation or dropping of tables. To prevent data loss, using the default setting is strongly advised. If you set to false, you will lose data on truncation or drop.")
|
||||
/**
|
||||
* @Group Key caches and global row properties
|
||||
|
||||
Reference in New Issue
Block a user