mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
feature: grandfather DIGEST_INSENSITIVE_TO_EXPIRY
The DIGEST_INSENSITIVE_TO_EXPIRY feature was added in 9de071d214 (2019; 3.2)
and can now be assumed to be always present. We enable the corresponding
schema_feature unconditionally.
We do not remove the corresponding schema feature, because it can be disabled
when the related TABLE_DIGEST_INSENSITIVE_TO_EXPIRY is present.
This commit is contained in:
@@ -136,6 +136,7 @@ std::set<std::string_view> feature_service::supported_feature_set() const {
|
||||
"MD_SSTABLE_FORMAT"sv,
|
||||
"ME_SSTABLE_FORMAT"sv,
|
||||
"VIEW_VIRTUAL_COLUMNS"sv,
|
||||
"DIGEST_INSENSITIVE_TO_EXPIRY"sv,
|
||||
};
|
||||
|
||||
if (is_test_only_feature_deprecated()) {
|
||||
@@ -191,7 +192,7 @@ void feature::enable() {
|
||||
|
||||
db::schema_features feature_service::cluster_schema_features() const {
|
||||
db::schema_features f;
|
||||
f.set_if<db::schema_feature::DIGEST_INSENSITIVE_TO_EXPIRY>(digest_insensitive_to_expiry);
|
||||
f.set<db::schema_feature::DIGEST_INSENSITIVE_TO_EXPIRY>();
|
||||
f.set<db::schema_feature::COMPUTED_COLUMNS>();
|
||||
f.set_if<db::schema_feature::CDC_OPTIONS>(cdc);
|
||||
f.set_if<db::schema_feature::PER_TABLE_PARTITIONERS>(per_table_partitioners);
|
||||
|
||||
@@ -81,7 +81,6 @@ public:
|
||||
|
||||
public:
|
||||
gms::feature user_defined_functions { *this, "UDF"sv };
|
||||
gms::feature digest_insensitive_to_expiry { *this, "DIGEST_INSENSITIVE_TO_EXPIRY"sv };
|
||||
gms::feature cdc { *this, "CDC"sv };
|
||||
gms::feature nonfrozen_udts { *this, "NONFROZEN_UDTS"sv };
|
||||
gms::feature hinted_handoff_separate_connection { *this, "HINTED_HANDOFF_SEPARATE_CONNECTION"sv };
|
||||
|
||||
@@ -110,7 +110,6 @@ void migration_manager::init_messaging_service()
|
||||
|
||||
if (this_shard_id() == 0) {
|
||||
for (const gms::feature& feature : {
|
||||
std::cref(_feat.digest_insensitive_to_expiry),
|
||||
std::cref(_feat.cdc),
|
||||
std::cref(_feat.per_table_partitioners),
|
||||
std::cref(_feat.table_digest_insensitive_to_expiry)}) {
|
||||
|
||||
Reference in New Issue
Block a user