/* * Copyright 2016-present ScyllaDB */ /* * SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0 */ #pragma once #include #include "utils/interval.hh" #include "dht/ring_position.hh" namespace compat { using wrapping_partition_range = wrapping_interval; // unwraps a vector of wrapping ranges into a vector of nonwrapping ranges // if the vector happens to be sorted by the left bound, it remains sorted template