Riak occasionally not storing objects

David Greenstein dave at collaborate.com
Thu Oct 24 10:30:05 EDT 2013


It does in fact appear that the out of synch system clocks across the nodes was causing the issue with vclock auto conflict resolution. The nodes don’t have internet access so I set up an internal ntp server to keep them in synch from now on. Thanks again for all the help!

Dave

On Oct 23, 2013, at 6:44 PM, David Greenstein <dave at collaborate.com> wrote:

> 
> The nodes were a bit out of synch (up to 30 seconds… looking into why ntp wasn’t working!). So far it appears this was the issue. I’ll let you know as I continue testing. Thank you!
> 
> Dave
> 
> 
> On Oct 23, 2013, at 6:01 PM, John Daily <jdaily at basho.com> wrote:
> 
>> How well-synchronized are your system clocks?
>> 
>> Sent from my iPhone
>> 
>>> On Oct 23, 2013, at 5:00 PM, David Greenstein <dave at collaborate.com> wrote:
>>> 
>>> 
>>> We’re doing new puts with a blank vector clock. There are several seconds between updates to the object though.
>>> 
>>> Dave
>>> 
>>> 
>>>> On Oct 23, 2013, at 5:32 PM, Andrew Thompson <andrew at hijacked.us> wrote:
>>>> 
>>>>> On Wed, Oct 23, 2013 at 04:57:12PM -0400, David Greenstein wrote:
>>>>> 
>>>>> One other thing that might be worth mentioning here is the writes I’m mentioning are actually updates to existing objects. The object exists, an attempt to write an update for the object appears to be received by a node, but the object maintains it’s original value.
>>>>> 
>>>>> Any help you can provide to debug this would be greatly appreciated. thank you!
>>>> 
>>>> Ok, that changes things a lot. You're running with allow_mult=false, so
>>>> Riak will automatically resolve siblings for you if you create them. Are
>>>> you doing 'get before put' for your updates? That is, doing the PUT with
>>>> the vclock of the old value, or are you doing 'new' puts with a blank
>>>> vector clock?
>>>> 
>>>> Andrew
>>>> 
>>>> _______________________________________________
>>>> 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
> 





More information about the riak-users mailing list