mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-27 20:05:10 +00:00
This patch reverts324b3c43c0and adds synchronous versions of `service_level_controller::find_effective_service_level()` and `client_state::maybe_update_per_service_level_params()`. It isn't safe to do asynchronous calls in `for_each_gently`, as the connection may be disconnected while a call in callback preempts. Fixes scylladb/scylladb#21801 Closes scylladb/scylladb#21761 * github.com:scylladb/scylladb: Revert "generic_server: use async function in `for_each_gently()`" transport/server: use synchronous calls in `for_each_gently` callback service/client_state: add synchronous method to update service level params qos/service_level_controller: add `find_cached_effective_service_level` (cherry picked from commitc601f7a359) Closes scylladb/scylladb#21849