diff --git a/locator/token_metadata.hh b/locator/token_metadata.hh index 92c6522bd0..d47e27019c 100644 --- a/locator/token_metadata.hh +++ b/locator/token_metadata.hh @@ -28,6 +28,9 @@ #include "utils/UUID.hh" #include +// forward declaration since database.hh includes this file +class keyspace; + namespace locator { using inet_address = gms::inet_address; @@ -893,9 +896,12 @@ public: return sb.toString(); } - - public Collection pendingEndpointsFor(Token token, String keyspaceName) +#endif + std::vector pending_endpoints_for(const token& token, const keyspace& ks) { + // FIXME: implement it + return std::vector(); +#if 0 Map, Collection> ranges = getPendingRanges(keyspaceName); if (ranges.isEmpty()) return Collections.emptyList(); @@ -908,8 +914,9 @@ public: } return endpoints; +#endif } - +#if 0 /** * @deprecated retained for benefit of old tests */