[Basho Riak] Fail To Update Document Repeatly With Cluster of 5 Nodes

2017-02-06 Thread my hue
Dear Riak Team, I and my team used riak as database for my production with an cluster including 5 nodes. While production run, we meet an critical bug that is sometimes fail to update document. I and my colleagues performed debug and detected an issue with the scenario as follow: + fetch documen

Re: [Basho Riak] Fail To Update Document Repeatly With Cluster of 5 Nodes

2017-02-07 Thread my hue
ected the context which allows Riak to resolve conflicts > was not present in your data, but I see it in your map structure. Thanks > for supplying such a detailed description. > > How fast is your turnaround time between an update and a fetch? Even if > the cluster is healthy it’s n

Re: [Basho Riak] Fail To Update Document Repeatly With Cluster of 5 Nodes

2017-02-07 Thread my hue
staurant_id">>,register},{register,<<>>,<<" rest848e042b3a0488640981c8a6dc4a8281">>}},{{<<"restaurant_ status_id">>,register},{register,<<>>,<<"inactive">>}} ,{{<<"start_time">>,register},{reg

Re: [Basho Riak] Fail To Update Document Repeatly With Cluster of 5 Nodes

2017-02-07 Thread my hue
ot;false">>}}, {update,{<<"id">>,register}, {assign,<<"menufe89488afa948875cab6b0b18d579f21">>}}, {update,{<<"end_time">>,register},{assign,<<"dont_use">>}},{update,{<<"currency">>,register},{assign,<<"cad"

Re: [Basho Riak] Fail To Update Document Repeatly With Cluster of 5 Nodes

2017-02-07 Thread my hue
in you’re updating all those registers in one go? Out of interest, what > happens if you update a single register at a time? > > On 7 Feb 2017, at 10:02, my hue wrote: > > > Dear Russel, > > > > > Can you run riakc_map:to_op(Map). and show me the output of that, >

Re: [Basho Riak] Fail To Update Document Repeatly With Cluster of 5 Nodes

2017-02-07 Thread my hue
Dear Russel, Let me try with your suggestion with an new, empty key and use modify_type to update a single register. And I will feedback to you on my result test. Best regards, Hue Tran On Tue, Feb 7, 2017 at 5:37 PM, Russell Brown wrote: > > On 7 Feb 2017, at 10:27, my hue

Re: [Basho Riak] Fail To Update Document Repeatly With Cluster of 5 Nodes

2017-02-11 Thread my hue
;dvv_enabled":true* ,"dw":"quorum",*"last_write_wins":false* ,"linkfun":{"mod":"riak_kv_wm_link_walker","fun":"mapreduce_linkfun"}, *"n_val":3*,"name":"*bucket-name* ","notfound_o