diff --git a/dht/ring_position.hh b/dht/ring_position.hh index 54f6bafc10..c72dd1693a 100644 --- a/dht/ring_position.hh +++ b/dht/ring_position.hh @@ -251,6 +251,7 @@ public: const dht::token& token() const noexcept { return *_token; } const partition_key* key() const { return _key; } + int weight() const { return _weight; } // Only when key() == nullptr token_bound get_token_bound() const { return token_bound(_weight); }