2i Index Durability/Resilience

Brady Wetherington brady at bespincorp.com
Mon Oct 7 16:39:36 EDT 2013


What happens to your 2i indexes if you do a write and one of the nodes
you're trying to write to is down?

http://docs.basho.com/riak/latest/dev/using/2i/ says:


   - When you want or need anti-entropy. Since 2i is just metadata on the
   KV object and the indexes reside on the same node, 2i piggybacks off of
   read-repair.

But
http://docs.basho.com/riak/latest/ops/running/recovery/repairing-indexes/says:

Riak Secondary indexes (2i) currently have no form of anti-entropy (such as
read-repair). Furthermore, for performance and load balancing reasons, 2i
reads from 1 random node. This means that when a replica loss has occurred,
inconsistent results may be returned.
I am building a solution around 2i - so I just wanted to know if there was
any way to clarify these points - how resilient are these indexes? Under
what circumstances will they stop working (or return inconsistent results)?

-B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20131007/9760d479/attachment.html>


More information about the riak-users mailing list