From 3d345609d8d0e263dacc968a5aaa2e619361e7d2 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 10 Aug 2022 13:47:08 +0300 Subject: [PATCH] config: disable "mc" format sstables for new data "md" format was introduced in 4.3, in 3530e80ce10fc20b, two years ago. Disable the option to create new sstables with the "mc" format. Closes #11265 --- db/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/config.cc b/db/config.cc index 068d285e85..84840ebeb7 100644 --- a/db/config.cc +++ b/db/config.cc @@ -824,7 +824,7 @@ db::config::config(std::shared_ptr exts) , view_building(this, "view_building", value_status::Used, true, "Enable view building; should only be set to false when the node is experience issues due to view building") , enable_sstables_mc_format(this, "enable_sstables_mc_format", value_status::Unused, true, "Enable SSTables 'mc' format to be used as the default file format. Deprecated, please use \"sstable_format\" instead.") , enable_sstables_md_format(this, "enable_sstables_md_format", value_status::Unused, true, "Enable SSTables 'md' format to be used as the default file format. Deprecated, please use \"sstable_format\" instead.") - , sstable_format(this, "sstable_format", value_status::Used, "me", "Default sstable file format", {"mc", "md", "me"}) + , sstable_format(this, "sstable_format", value_status::Used, "me", "Default sstable file format", {"md", "me"}) , enable_dangerous_direct_import_of_cassandra_counters(this, "enable_dangerous_direct_import_of_cassandra_counters", value_status::Used, false, "Only turn this option on if you want to import tables from Cassandra containing counters, and you are SURE that no counters in that table were created in a version earlier than Cassandra 2.1." " It is not enough to have ever since upgraded to newer versions of Cassandra. If you EVER used a version earlier than 2.1 in the cluster where these SSTables come from, DO NOT TURN ON THIS OPTION! You will corrupt your data. You have been warned.") , enable_shard_aware_drivers(this, "enable_shard_aware_drivers", value_status::Used, true, "Enable native transport drivers to use connection-per-shard for better performance")