mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 08:30:35 +00:00
clear_gently() (introduced in322aa2f8b5) clears all token_metadata_impl members using co_await to avoid reactor stalls on large data structures. _topology_change_info (introduced in10bf8c7901) was added later and not included in clear_gently(). update_topology_change_info() already uses utils::clear_gently() when replacing the value, so it looks reasonable to apply the same pattern in clear_gently(). Signed-off-by: Pavel Emelyanov <xemul@scylladb.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Closes scylladb/scylladb#29210