mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-04 14:03:06 +00:00
Instead of unconditionally reloading schema when enabling any schema feature, only create a listener, if the feature was disabled in the first place. So that we don't trigger reloading of the schema on each schema feature, on node restarts. In this case, the node will start with all these features enabled already. This prevents unnecessary work on restarts. Fixes: #16112 Closes scylladb/scylladb#16118