mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 18:10:39 +00:00
storage_service::register_features() reassigns to feature variables in storage_service. This means that any call to feature::when_enabled() will be orphaned when the feature is assigned. Now that feature lifetimes are not tied to gossip, we can move the feature initialization to the constructor and eliminate the gap. When gossip is started it will evaluate application_states and enable features that the cluster agrees on.