accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshelser <>
Subject [GitHub] accumulo pull request #244: Discuss ACCUMULO-3079: collapsing the iterator s...
Date Fri, 21 Apr 2017 01:14:10 GMT
Github user joshelser commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/accumulo/core/iterators/system/
    @@ -16,63 +16,59 @@
     package org.apache.accumulo.core.iterators.system;
    -import org.apache.accumulo.core.iterators.Filter;
     import org.apache.accumulo.core.iterators.IteratorEnvironment;
     import org.apache.accumulo.core.iterators.SortedKeyValueIterator;
    +import org.apache.accumulo.core.iterators.SynchronizedServerFilter;
     import org.apache.accumulo.core.util.BadArgumentException;
    -import org.apache.accumulo.core.util.TextUtil;
     import org.slf4j.Logger;
     import org.slf4j.LoggerFactory;
    -public class VisibilityFilter extends Filter {
    +public class VisibilityFilter extends SynchronizedServerFilter {
    --- End diff --
    > We used to have a separate SynchronizedIterator on scan scope that wrapped all of
the system iterators and this moves that same functionality down into the VisibilityFilter.
    Ok, we def need to lift your great explanation into some source code comments :)
    > This is only necessary when a configurable iterator does something multi-threaded.
    Ah yes. IMO, we should just tell people "don't do that" and move on, but that's an issue
for another day :P

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message