Github user belliottsmith commented on a diff in the pull request:
https://github.com/apache/cassandra/pull/269#discussion_r218382891
--- Diff: src/java/org/apache/cassandra/dht/RangeStreamer.java ---
@@ -87,8 +85,8 @@
private final InetAddressAndPort address;
/* streaming description */
private final String description;
- private final Multimap<String, Multimap<InetAddressAndPort,
FetchReplica>> toFetch = HashMultimap.create();
- private final Set<Predicate<Replica>> sourceFilters = new HashSet<>();
+ private final Map<String, Multimap<InetAddressAndPort, FetchReplica>>
toFetch = new HashMap<>();
+ private final Set<SourceFilter> sourceFilters = new HashSet<>();
--- End diff --
Does this need to be a Set? (I realise this is old, but it doesn't make
much sense AFAICT)
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]