mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 09:00:35 +00:00
The current gossiper implementation runs the gossiper on CPU 0, this is irelevent to user of the gossiper, that may want to inquire it. This adds a globally available API for get_unreachable_members, get_live_members, get_endpoint_downtime, get_current_generation_number, unsafe_assassinate_endpoint and assassinate_endpoint that returns a future and perform on the correct CPU. The target user is the API that would use this function to expose the gossiper. Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>