Gleb Natapov
e364995e28
api: return error from get_host_id_map if gossiper is not enabled yet.
...
Token metadata api is initialized before gossiper is started.
get_host_id_map REST endpoint cannot function without the fully
initialized gossiper though. The gossiper is started deep in
the join_cluster call chain, but if we move token_metadata api
initialization after the call it means that no api will be available
during bootstrap. This is not what we want.
Make a simple fix by returning an error from the api if the gossiper is
not initialized yet.
Fixes : #24479
Closes scylladb/scylladb#24575
2025-06-20 11:27:28 +03:00
..
2025-06-10 12:52:13 +03:00
2025-02-05 10:10:29 +01:00
2025-05-15 11:08:52 +03:00
2025-06-06 10:57:06 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-02 07:13:34 +01:00
2025-02-15 20:32:22 +02:00
2024-12-18 17:45:13 +02:00
2025-06-06 10:57:06 +03:00
2025-01-13 11:32:07 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-05-16 20:00:00 +02:00
2024-12-18 17:45:13 +02:00
2025-06-02 20:06:33 +03:00
2025-01-14 07:56:38 -05:00
2025-02-20 10:50:04 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-06-16 15:21:27 +03:00
2024-12-18 17:45:13 +02:00
2025-06-02 20:09:56 +03:00
2024-12-18 17:45:13 +02:00
2025-01-15 16:30:28 +02:00
2025-01-15 16:30:28 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-03-11 12:09:22 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-03-17 10:03:06 +02:00
2025-01-06 13:04:33 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-06-10 12:52:13 +03:00
2025-05-15 11:07:52 +03:00
2025-01-14 07:56:38 -05:00
2024-12-18 17:45:13 +02:00
2025-01-15 10:11:40 +03:00
2024-12-18 17:45:13 +02:00
2025-02-20 10:50:04 +03:00
2024-12-18 17:45:13 +02:00
2025-02-05 10:11:52 +01:00
2025-02-05 10:10:29 +01:00
2025-05-15 11:07:53 +03:00
2024-12-18 17:45:13 +02:00
2025-06-20 11:27:28 +03:00
2025-01-15 16:30:28 +02:00