Pavel Emelyanov
12420dc644
api: Shorten get_host_to_id_map() handler
...
The handler does
- gets host IDs from local token metadata
- for each ID gets the host IP and generates IP:ID std::pair
- converts the sequence of generated pairs into std::unordered_map
- converts the unordered map into vector of jsonable key:value objects
This patch removes the 3rd step and makes the needed jsonable object in
step 2 directly, thus eliminating the interposing unordered_map
creation.
Signed-off-by: Pavel Emelyanov <xemul@scylladb.com >
Closes scylladb/scylladb#24354
2025-06-06 10:54:23 +03:00
..
2025-05-29 16:12:09 +03:00
2025-02-05 10:10:29 +01:00
2025-05-15 11:08:52 +03:00
2025-06-06 10:53:09 +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:53:09 +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-01-17 11:24:54 +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-03-31 16:50:50 +03:00
2024-12-18 17:45:13 +02:00
2025-04-06 18:39:24 +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-06 10:53:09 +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:54:23 +03:00
2025-01-15 16:30:28 +02:00