Yokozuna inconsistent search results

Oleksiy Krivoshey oleksiyk at gmail.com
Fri Feb 26 10:51:52 EST 2016


Yes, AAE is enabled:

anti_entropy = active

anti_entropy.use_background_manager = on
handoff.use_background_manager = on

anti_entropy.throttle.tier1.mailbox_size = 0
anti_entropy.throttle.tier1.delay = 5ms

anti_entropy.throttle.tier2.mailbox_size = 50
anti_entropy.throttle.tier2.delay = 50ms

anti_entropy.throttle.tier3.mailbox_size = 100
anti_entropy.throttle.tier3.delay = 500ms

anti_entropy.throttle.tier4.mailbox_size = 200
anti_entropy.throttle.tier4.delay = 2000ms

anti_entropy.throttle.tier5.mailbox_size = 500
anti_entropy.throttle.tier5.delay = 5000ms

However the output of "riak-admin search aae-status" looks like this:
http://oleksiy.sirv.com/misc/search-aae.png


On Fri, 26 Feb 2016 at 17:13 Fred Dushin <fdushin at basho.com> wrote:

> I would check the coverage plans that are being used for the different
> queries, which you can usually see in the headers of the resulting
> document.  When you run a search query though yokozuna, it will use a
> coverage plan from riak core to find a minimal set of nodes (and
> partitions) to query to get a set of results, and the coverage plan may
> change every few seconds.  You might be hitting nodes that have
> inconsistencies or are in need of repair.  Do you have AAE enabled?
>
> -Fred
>
> > On Feb 26, 2016, at 8:36 AM, Oleksiy Krivoshey <oleksiyk at gmail.com>
> wrote:
> >
> > Hi!
> >
> > Riak 2.1.3
> >
> > Having a stable data set (no documents deleted in months) I'm receiving
> inconsistent search results with Yokozuna. For example first query can
> return num_found: 3000 (correct), the same query repeated in next seconds
> can return 2998, or 2995, then 3000 again. Similar inconsistency happens
> when trying to receive data in pages (using start/rows options): sometimes
> I get the same document twice (in different pages), sometimes some
> documents are missing completely.
> >
> > There are no errors or warning in Yokozuna logs. What should I look for
> in order to debug the problem?
> >
> > Thanks!
> > _______________________________________________
> > riak-users mailing list
> > riak-users at lists.basho.com
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160226/ef2478df/attachment-0002.html>


More information about the riak-users mailing list