Riak returning no objects when an object should exist

Thomas Santero tsantero at gmail.com
Wed Jul 2 22:01:45 EDT 2014

Hi Alain,

Im only speculating here, but id wager to say that this isn't the same key always, but rather multiple different keys that you know to exist?

If that's the case it's  possible that with notfound_ok: true sometimes Riak will return a not found if a vnode in the preflist responds back without the data, due to a partial write.

Can you provide more info and/or logs?


This message was typed but not proofread

> On Jul 2, 2014, at 8:33 PM, Alain Rodriguez <alain at uber.com> wrote:
> Hi all,
> We are seeing a situation where reading a key that is known to exist returns no value. The bucket properties are as follows:
> {"props":{"allow_mult":false,"basic_quorum":false,"big_vclock":50,"chash_keyfun":{"mod":"riak_core_util","fun":"chash_std_keyfun"},"dw":"quorum","last_write_wins":true,"linkfun":{"mod":"riak_kv_wm_link_walker","fun":"mapreduce_linkfun"},"n_val":3,"name":"1m","notfound_ok":true,"old_vclock":86400,"postcommit":[],"pr":0,"precommit":[],"pw":0,"r":"quorum","rw":"quorum","small_vclock":50,"w":"quorum","young_vclock":20}}
> Most of the times reading the key returns a value, but sometimes it doesn't. We are running on a 10 node cluster with AAE turned off.
> What could be going on here?
> Cheers,
> Alain
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

More information about the riak-users mailing list