Pavel Emelyanov
0b6532a895
api: Shorten get_simple_states() handler
...
The one collects map<ip, state> then converts it to a jsonable vector of
helper objects with key and value members. This patch removes the
intermediate map and creates the vector instantly. With that change the
handler makes less data manipulations and behaves like the
get_all_endpoint_states one.
Very similar change was done in 12420dc644 with get_host_to_id_map
handler.
Signed-off-by: Pavel Emelyanov <xemul@scylladb.com >
Closes scylladb/scylladb#24456
2025-06-16 15:21:27 +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-06 10:57:06 +03:00
2025-01-15 16:30:28 +02:00