Github user ifesdjeen commented on a diff in the pull request:
https://github.com/apache/cassandra/pull/269#discussion_r218432647
--- 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 --
You're right it doesn't. Filtering is idempotent (e.g. first op will filter
the element out and subsequent ones will just be no-op)
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]