mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 19:35:12 +00:00
server::set_routes() was setting the value of server::_callbacks. This led to a race condition, as set_routes() is invoked on every shard simultaneously. It is also unnecessary, since _callbacks can be initialized in the constructor. Fixes #5220. Signed-off-by: Dejan Mircevski <dejan@scylladb.com>