accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Vines <vi...@apache.org>
Subject Re: Iterator Priorities question
Date Thu, 20 Feb 2014 20:28:34 GMT
Yes, system iterators will always come before any user space iterators.

Version iterator is set to 20 by default so users can easily put in
iterators before and after it without having to change the versioning as
well.


On Thu, Feb 20, 2014 at 3:18 PM, Aaron <aarongmldt@gmail.com> wrote:

> I assume this is correct..but, just double checking.
>
> From the JavaDocs:
>
> *priority - determines the order in which iterators are applied (system
> iterators are always applied first, then user-configured iterators, lowest
> priority first)*
>
> So, even if I set a priority of "1" for a user iterator, it will (should?)
> come after all system iterators have run on a particular
> scan/min/majc..correct?
>
> I noticed that the VersionIterator looks to set a priority of 20 by
> default..is there a particular reason as to why it's set there?  Just more
> curious than anything.
>
> Cheers,
> Aaron
>

Mime
View raw message