This is gold! Thanks for sharing the ultimate cause of Kevin's error.

On Wednesday, March 13, 2013, Tony Schwartz wrote:

> The combination of allow_mult: true and the precommit
> "riak_search_kv_hook" is the issue.  But this is only true if its set in
> the default props.
>
> Search and conflict resolution can work together, but apparently search
> creates hidden buckets behind the scenes that go off the default bucket
> properties specified in app.config.
>
> So if those buckets have allow_mult, there will be there problem.
>
> So basically, if you have search enabled, you need to have allow_mult =
> false as the default.
>
> You can enable allow_mult = true on individual buckets, in an ad hoc
> manner.
>
> This isn't to say that search and conflict resolution is incompatible, it
> just means that allow_mult must be set dynamically in that case.
>
> On Wed, Mar 13, 2013 at 7:22 PM, Kevin Burton 
> <[email protected]<javascript:_e({}, 'cvml', 
> '[email protected]');>
> > wrote:
>
>> Thanks again.  You solved it!!. I am not sure how the bucket properties
>> were set in this way but I changed back to the default and it works again.
>> The key property in this case was ‘precommit’. Now that this property is
>> suspect can we offer an explanation? I have highlighted the changed
>> properties and the one that certainly jumped out is ‘precommit’. How does
>> that get set? What are the conditions that setting it in this way would
>> case such an error?****
>>
>> ** **
>>
>> Here are the original bucket properties:****
>>
>> ** **
>>
>> {****
>>
>>         "props" : {****
>>
>>                 "allow_mult" : true,****
>>
>>                 "basic_quorum" : false,****
>>
>>                 "big_vclock" : 50,****
>>
>>                 "chash_keyfun" : {****
>>
>>                         "mod" : "riak_core_util",****
>>
>>                         "fun" : "chash_std_keyfun"****
>>
>>                 },****
>>
>>                 "dw" : "quorum",****
>>
>>                 "last_write_wins" : false,****
>>
>>                 "linkfun" : {****
>>
>>                         "mod" : "riak_kv_wm_link_walker",****
>>
>>                         "fun" : "mapreduce_linkfun"****
>>
>>                 },****
>>
>>                 "n_val" : 4,****
>>
>>                 "name" : "buyseasons-orders",****
>>
>>                 "notfound_ok" : true,****
>>
>>                 "old_vclock" : 86400,****
>>
>>                 "postcommit" : [ ],****
>>
>> _______________________________________________
>> riak-users mailing list
>> [email protected] <javascript:_e({}, 'cvml',
>> '[email protected]');>
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
>

-- 
---
Jeremiah Peschka - Founder, Brent Ozar Unlimited
MCITP: SQL Server 2008, MVP
Cloudera Certified Developer for Apache Hadoop
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to