mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-22 07:42:16 +00:00
Schema, role, and config changes must refresh the preprocessed rule cache, otherwise the fast path serves stale matches after reconfiguration or metadata changes. Register a migration listener for table/view create/drop. Observe audit_rules config changes through a serialized action so concurrent rebuilds collapse. Add hooks for role create/drop and a set_known_entities() bulk-load method. Implement real cleanup in shutdown() (previously a no-op) and roll back cleanly on start failure. Refs SCYLLADB-1430