Hello

The number of crashes has dropped dramatically with the property (dvv_enabled) 
updated. Now, I'm periodically seeing crash messages like:

2017-06-26 10:05:56 =CRASH REPORT====
  crasher:
    initial call: riak_kv_get_fsm:init/1
    pid: <0.20060.107>
    registered_name: []
    exception exit: 
{{function_clause,[{riak_object,merge_contents,[{r_object,{<<"commercial">>,<<"commercial_danda">>},<<"02565069">>,[{r_content,{dict,7,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[[<<"Links">>]],[],[],[],[],[],[],[],[[<<"content-type">>,97,112,112,108,105,99,97,116,105,111,110,47,106,115,111,110],[<<"X-Riak-VTag">>,54,110,74,113,77,100,117,79,84,109,119,78,110,119,120,84,48,51,106,119,79,103]],[[<<"index">>]],[],[[<<"X-Riak-Last-Modified">>|{1494,930206,640553}]],[],[[<<"charset">>,117,116,102,45,56],[<<"X-Riak-Meta">>]]}}},<<"{\"company\":\"02565069\",\"identification\":{\"companyNo\":\"02565069\",\"name\":\"TCS
 0\",\"alpha\":\"TCS\",\"roAddress\":{\"line1\":\"st cross street 
C\",\"line2\":\"ross Road T\",\"line3\":\"hiruvanmayur 
C\",\"line4\":\"hennai\",\"postCode\":\"cb6 
1ad\",\"kpostcode\":\"cb61ad\"},\"accountReferenceDate\":\"3004\",\"incorporationDate\":\"2009-01-01\",\"returnMadeUpDate\":\"2009-03-03\",\"latestAccountsFiledDate\
 
":\"2009-02-02\",\"accountsType\":5,\"latestAnalysedAccountDate\":\"2008-04-30\",\"nextAnnualReturnDue\":\"2010-03-31\",\"companyType\":\"0\",\"companyTypeDescription\":\"Other\",\"dissolved\":false}}">>}],[{<<90,0,32,188,84,53,62,41>>,{1,63662149406}}],{dict,1,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[[clean|true]],[]}}},undefined},{r_object,{<<"commercial">>,<<"commercial_danda">>},<<"02565069">>,[{r_content,{dict,7,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[[<<"Links">>]],[],[],[],[],[],[],[],[[<<"content-type">>,97,112,112,108,105,99,97,116,105,111,110,47,106,115,111,110],[<<"X-Riak-VTag">>,54,110,74,113,77,100,117,79,84,109,119,78,110,119,120,84,48,51,106,119,79,103]],[[<<"index">>]],[],[[<<"X-Riak-Last-Modified">>|{1494,930206,640553}]],[],[[<<"X-Riak-Meta">>],[<<"charset">>,117,116,102,45,56]]}}},<<"{\"company\":\"02565069\",\"identification\":{\"companyNo\":\"02565069\",\"name\":
 \"TCS 0\",\"alpha\":\"TCS\",\"roAddress\":{\"line1\":\"st cross street 
C\",\"line2\":\"ross Road T\",\"line3\":\"hiruvanmayur 
C\",\"line4\":\"hennai\",\"postCode\":\"cb6 
1ad\",\"kpostcode\":\"cb61ad\"},\"accountReferenceDate\":\"3004\",\"incorporationDate\":\"2009-01-01\",\"returnMadeUpDate\":\"2009-03-03\",\"latestAccountsFiledDate\":\"2009-02-02\",\"accountsType\":5,\"latestAnalysedAccountDate\":\"2008-04-30\",\"nextAnnualReturnDue\":\"2010-03-31\",\"companyType\":\"0\",\"companyTypeDescription\":\"Other\",\"dissolved\":false}}">>}],[{<<90,0,32,188,84,53,62,41>>,{1,63662149406}}],{dict,1,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[[clean|true]],[]}}},undefined},<<"false">>],[{file,"src/riak_object.erl"},{line,306}]},{timer,tc,2,[{file,"timer.erl"},{line,179}]},{riak_object,merge,2,[{file,"src/riak_object.erl"},{line,279}]},{lists,foldl,3,[{file,"lists.erl"},{line,1248}]},{riak_object,reconcile,2,[{file,"src/riak_obje
 
ct.erl"},{line,208}]},{riak_kv_get_core,merge,2,[{file,"src/riak_kv_get_core.erl"},{line,262}]},{riak_kv_get_core,response,1,[{file,"src/riak_kv_get_core.erl"},{line,140}]},{riak_kv_get_fsm,waiting_vnode_r,2,[{file,"src/riak_kv_get_fsm.erl"},{line,334}]}]},[{gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,622}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
    ancestors: 
[riak_kv_get_fsm_sj_4,riak_kv_get_fsm_sj_worker_sup,riak_kv_get_fsm_sj,sidejob_sup,<0.372.0>]
    messages: 
[{'$gen_event',{r,{ok,{r_object,{<<"commercial">>,<<"commercial_danda">>},<<"02565069">>,[{r_content,{dict,7,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[[<<"Links">>]],[],[],[],[],[],[],[],[[<<"content-type">>,97,112,112,108,105,99,97,116,105,111,110,47,106,115,111,110],[<<"X-Riak-VTag">>,54,110,74,113,77,100,117,79,84,109,119,78,110,119,120,84,48,51,106,119,79,103]],[[<<"index">>]],[],[[<<"X-Riak-Last-Modified">>|{1494,930206,640553}]],[],[[<<"X-Riak-Meta">>],[<<"charset">>,117,116,102,45,56]]}}},<<"{\"company\":\"02565069\",\"identification\":{\"companyNo\":\"02565069\",\"name\":\"TCS
 0\",\"alpha\":\"TCS\",\"roAddress\":{\"line1\":\"st cross street 
C\",\"line2\":\"ross Road T\",\"line3\":\"hiruvanmayur 
C\",\"line4\":\"hennai\",\"postCode\":\"cb6 
1ad\",\"kpostcode\":\"cb61ad\"},\"accountReferenceDate\":\"3004\",\"incorporationDate\":\"2009-01-01\",\"returnMadeUpDate\":\"2009-03-03\",\"latestAccountsFiledDate\":\"2009-02-02\",\"accountsType\
 
":5,\"latestAnalysedAccountDate\":\"2008-04-30\",\"nextAnnualReturnDue\":\"2010-03-31\",\"companyType\":\"0\",\"companyTypeDescription\":\"Other\",\"dissolved\":false}}">>}],[{<<90,0,32,188,84,53,62,41>>,{1,63662149406}}],{dict,1,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[[clean|true]],[]}}},undefined}},433883298582611803841718934712646521460354973696,17576867}}]
    links: [<0.476.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 4185
    stack_size: 27
    reductions: 2002
  neighbours:


-----Original Message-----
From: Russell Brown [mailto:russell.br...@icloud.com]
Sent: 26 June 2017 10:54
To: Mark Richard Thomas
Cc: riak-users
Subject: [IE] Re: [IE] Re: merge_contents error

The crash report is for the same reason, the 3rd argument to 
riak_object:merge_contents/3 is <<"false">> when it should be the atom 'false'.

Is that crash report from _after_ you updated the bucket properties?

Cheers

Russell

On 26 Jun 2017, at 10:50, Mark Richard Thomas <mark.tho...@equifax.com> wrote:

> Hello
>
> Riak version 2.2.3
>
> Yes, this is related to a cluster restore from backup.
>
> .../types/commercial/props
>
> {"props":{"name":"commercial_systest","active":true,"allow_mult":false,"basic_quorum":true,"big_vclock":50,"chash_keyfun":{"mod":"riak_core_util","fun":"chash_std_keyfun"},"claimant":"r...@wrkd1lrkd002.app.c9.equifax.com","dvv_enabled":false,"dw":"quorum","last_write_wins":true,"linkfun":{"mod":"riak_kv_wm_link_walker","fun":"mapreduce_linkfun"},"n_val":3,"notfound_ok":false,"old_vclock":86400,"postcommit":[],"pr":0,"precommit":[],"pw":0,"r":"quorum","rw":"quorum","small_vclock":50,"w":"quorum","young_vclock":20}}
>
>
> I modified the commercial bucket properties. Good spot on the dvv_enabled. I 
> updated with:
>
> riak-admin bucket-type update commercial '{"props":{"last_write_wins":true, 
> "allow_mult":false, "dvv_enabled":false, "basic_quorum":true, 
> "notfound_ok":false}}'
>
> Any idea on what this crash report means?
>
> And how do I merge locally?
>
> 2017-06-26 09:39:17 =CRASH REPORT====
>  crasher:
>    initial call: riak_kv_get_fsm:init/1
>    pid: <0.29113.100>
>    registered_name: []
>    exception exit: 
> {{function_clause,[{riak_object,merge_contents,[{r_object,{<<"commercial">>,<<"commercial_danda">>},<<"SC412063">>,[{r_content,{dict,7,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[[<<"Links">>]],[],[],[],[],[],[],[],[[<<"content-type">>,97,112,112,108,105,99,97,116,105,111,110,47,106,115,111,110],[<<"X-Riak-VTag">>,50,51,118,107,78,122,101,98,57,52,73,81,65,87,100,112,109,86,102,99,97,82]],[[<<"index">>]],[],[[<<"X-Riak-Last-Modified">>|{1494,933827,646892}]],[],[[<<"charset">>,117,116,102,45,56],[<<"X-Riak-Meta">>]]}}},<<"{\"company\":\"SC412063\",\"identification\":{\"companyNo\":\"SC412063\",\"name\":\"TCS
>  0\",\"alpha\":\"TCS\",\"roAddress\":{\"line1\":\"st cross street 
> C\",\"line2\":\"ross Road T\",\"line3\":\"hiruvanmayur 
> C\",\"line4\":\"hennai\",\"postCode\":\"cb6 
> 1ad\",\"kpostcode\":\"cb61ad\"},\"accountReferenceDate\":\"3004\",\"incorporationDate\":\"2009-01-01\",\"returnMadeUpDate\":\"2009-03-03\",\"latestAccountsFiledDate\":\
 
"2009-02-02\",\"accountsType\":5,\"latestAnalysedAccountDate\":\"2008-04-30\",\"nextAnnualReturnDue\":\"2010-03-31\",\"companyType\":\"0\",\"companyTypeDescription\":\"Other\",\"dissolved\":false},
   \"groupstructure\": {\"shareholder\": [{\"shareholderType\": 
\"P\",\"title\": \"MR\",\"forename\": \"Veronica\",\"initial\": 
\"J\",\"surname\": \"DEF\",\"percentageOfOrdinary\": 
15.5},{\"shareholderType\": \"P\",\"title\": \"MR\",\"forename\": \"NICHOLAS 
ANTHONY\",\"initial\": \"J\",\"surname\": \"VIS\",\"percentageOfOrdinary\": 
15.5}]}}">>}],[{<<90,0,32,188,84,53,62,38>>,{1,63662153027}}],{dict,1,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[[clean|true]],[]}}},undefined},{r_object,{<<"commercial">>,<<"commercial_danda">>},<<"SC412063">>,[{r_content,{dict,7,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[[<<"Links">>]],[],[],[],[],[],[],[],[[<<"content-type">>,97,112,112,108,105,99,97,116,105,111,11
 
0,47,106,115,111,110],[<<"X-Riak-VTag">>,50,51,118,107,78,122,101,98,57,52,73,81,65,87,100,112,109,86,102,99,97,82]],[[<<"index">>]],[],[[<<"X-Riak-Last-Modified">>|{1494,933827,646892}]],[],[[<<"X-Riak-Meta">>],[<<"charset">>,117,116,102,45,56]]}}},<<"{\"company\":\"SC412063\",\"identification\":{\"companyNo\":\"SC412063\",\"name\":\"TCS
 0\",\"alpha\":\"TCS\",\"roAddress\":{\"line1\":\"st cross street 
C\",\"line2\":\"ross Road T\",\"line3\":\"hiruvanmayur 
C\",\"line4\":\"hennai\",\"postCode\":\"cb6 
1ad\",\"kpostcode\":\"cb61ad\"},\"accountReferenceDate\":\"3004\",\"incorporationDate\":\"2009-01-01\",\"returnMadeUpDate\":\"2009-03-03\",\"latestAccountsFiledDate\":\"2009-02-02\",\"accountsType\":5,\"latestAnalysedAccountDate\":\"2008-04-30\",\"nextAnnualReturnDue\":\"2010-03-31\",\"companyType\":\"0\",\"companyTypeDescription\":\"Other\",\"dissolved\":false},
   \"groupstructure\": {\"shareholder\": [{\"shareholderType\": 
\"P\",\"title\": \"MR\",\"forename\": \"Veronica\",\"initial\":
  \"J\",\"surname\": \"DEF\",\"percentageOfOrdinary\": 
15.5},{\"shareholderType\": \"P\",\"title\": \"MR\",\"forename\": \"NICHOLAS 
ANTHONY\",\"initial\": \"J\",\"surname\": \"VIS\",\"percentageOfOrdinary\": 
15.5}]}}">>}],[{<<90,0,32,188,84,53,62,38>>,{1,63662153027}}],{dict,1,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[[clean|true]],[]}}},undefined},<<"false">>],[{file,"src/riak_object.erl"},{line,306}]},{timer,tc,2,[{file,"timer.erl"},{line,179}]},{riak_object,merge,2,[{file,"src/riak_object.erl"},{line,279}]},{lists,foldl,3,[{file,"lists.erl"},{line,1248}]},{riak_object,reconcile,2,[{file,"src/riak_object.erl"},{line,208}]},{riak_kv_get_core,merge,2,[{file,"src/riak_kv_get_core.erl"},{line,262}]},{riak_kv_get_core,final_action,1,[{file,"src/riak_kv_get_core.erl"},{line,193}]},{riak_kv_get_fsm,finalize,1,[{file,"src/riak_kv_get_fsm.erl"},{line,415}]}]},[{gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,622}]},{proc_lib
 ,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
>    ancestors: 
> [riak_kv_get_fsm_sj_6,riak_kv_get_fsm_sj_worker_sup,riak_kv_get_fsm_sj,sidejob_sup,<0.372.0>]
>    messages: []
>    links: [<0.478.0>]
>    dictionary: []
>    trap_exit: false
>    status: running
>    heap_size: 4185
>    stack_size: 27
>    reductions: 2574
>  neighbours:
>
> Thanks
>
> Mark
> Equifax Limited is registered in England with Registered No. 2425920. 
> Registered Office: Capital House, 25 Chapel Street, London NW1 5DS. Equifax 
> Limited is authorised and regulated by the Financial Conduct Authority.
> Equifax Touchstone Limited is registered in Scotland with Registered No. 
> SC113401. Registered Office: Exchange Tower,19 Canning Street, Edinburgh, EH3 
> 8EH.
> Equifax Commercial Services Limited is registered in the Republic of Ireland 
> with Registered No. 215393. Registered Office: IDA Business & Technology 
> Park, Rosslare Road, Drinagh, Wexford.
>
> This message contains information from Equifax which may be confidential and 
> privileged. If you are not an intended recipient, please refrain from any 
> disclosure, copying, distribution or use of this information and note that 
> such actions are prohibited. If you have received this transmission in error, 
> please notify by e-mail postmas...@equifax.com<mailto:postmas...@equifax.com>.

Equifax Limited is registered in England with Registered No. 2425920. 
Registered Office: Capital House, 25 Chapel Street, London NW1 5DS. Equifax 
Limited is authorised and regulated by the Financial Conduct Authority.
Equifax Touchstone Limited is registered in Scotland with Registered No. 
SC113401. Registered Office: Exchange Tower,19 Canning Street, Edinburgh, EH3 
8EH.
Equifax Commercial Services Limited is registered in the Republic of Ireland 
with Registered No. 215393. Registered Office: IDA Business & Technology Park, 
Rosslare Road, Drinagh, Wexford.

This message contains information from Equifax which may be confidential and 
privileged. If you are not an intended recipient, please refrain from any 
disclosure, copying, distribution or use of this information and note that such 
actions are prohibited. If you have received this transmission in error, please 
notify by e-mail postmas...@equifax.com<mailto:postmas...@equifax.com>.

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to