Files
scylladb/locator
Michał Chojnowski 5edf965526 locator: token_metadata: unify get_address_ranges() and get_ranges()
get_address_ranges() and get_ranges() perform almost the same computation.
They return the same ranges -- the only difference is that
get_address_ranges() returns them in unspecified order, while get_ranges()
returns them in sorted order. Therefore the result of get_ranges() is also
a valid result for get_address_ranges(), and the two functions can be unified
to avoid code duplication. This patch does just that.
2023-02-04 22:55:08 +01:00
..
2022-10-20 12:33:41 +03:00
2022-12-13 14:17:18 +02:00
2022-12-13 14:17:18 +02:00
2022-11-16 21:53:05 +02:00