Previously, get_all_endpoint_states accumulated all results in memory, which could lead to large allocations when dealing with many endpoints. This change uses the stream_range_as_array helper to stream the results. Fixes #24386 Signed-off-by: Amnon Heiman <amnon@scylladb.com> Closes scylladb/scylladb#24405
4.9 KiB
4.9 KiB