diff --git a/service/client_state.cc b/service/client_state.cc index 754fcea202..61cfb32265 100644 --- a/service/client_state.cc +++ b/service/client_state.cc @@ -176,8 +176,8 @@ future<> service::client_state::has_access(const sstring& ks, auth::permission p } } - static thread_local std::set readable_system_resources = [] { - std::set tmp; + static thread_local std::unordered_set readable_system_resources = [] { + std::unordered_set tmp; for (auto cf : { db::system_keyspace::LOCAL, db::system_keyspace::PEERS }) { tmp.insert(auth::make_data_resource(db::system_keyspace::NAME, cf)); }