diff --git a/db/config.cc b/db/config.cc index ee894ce1a6..d8e6ae70df 100644 --- a/db/config.cc +++ b/db/config.cc @@ -1478,6 +1478,8 @@ db::config::config(std::shared_ptr exts) , alternator_max_expression_cache_entries_per_shard(this, "alternator_max_expression_cache_entries_per_shard", liveness::LiveUpdate, value_status::Used, 2000, "Maximum number of cached parsed request expressions, per shard.") , alternator_max_users_query_size_in_trace_output(this, "alternator_max_users_query_size_in_trace_output", liveness::LiveUpdate, value_status::Used, uint64_t(4096), "Maximum size of user's command in trace output (`alternator_op` entry). Larger traces will be truncated and have `` message appended - which doesn't count to the maximum limit.") + , alternator_describe_table_info_cache_validity_in_seconds(this, "alternator_describe_table_info_cache_validity_in_seconds", liveness::LiveUpdate, value_status::Used, 60 * 60 * 6, + "The validity of DescribeTable information - table size in bytes. This is how long calculated value will be reused before recalculation.") , abort_on_ebadf(this, "abort_on_ebadf", value_status::Used, true, "Abort the server on incorrect file descriptor access. Throws exception when disabled.") , sanitizer_report_backtrace(this, "sanitizer_report_backtrace", value_status::Used, false, "In debug mode, report log-structured allocator sanitizer violations with a backtrace. Slow.") diff --git a/db/config.hh b/db/config.hh index 4076d209dd..f4626e2598 100644 --- a/db/config.hh +++ b/db/config.hh @@ -477,6 +477,7 @@ public: named_value alternator_allow_system_table_write; named_value alternator_max_expression_cache_entries_per_shard; named_value alternator_max_users_query_size_in_trace_output; + named_value alternator_describe_table_info_cache_validity_in_seconds; named_value abort_on_ebadf;