Riak 1.3.1 - The Story So Far

2013-06-17 Thread Shane McEwan
G'day! We've been running with 1.3.1 for most of this week. Generally it's been going well. We especially feel happier knowing that Active Anti-Entropy is keeping an eye on things. As we mostly use map reduce queries we rarely triggered any read repairs so it's good that we'll be getting repa

bucket properties

2013-06-17 Thread Louis-Philippe Perron
Hi list, I'd like to know what happens when you modify some default_bucket_props, are all the previously created buckets for which no properties had been set affected by the new default properties, or only the newly created buckets inherit the default_bucket_props? thanks! L-P

Re: bucket properties

2013-06-17 Thread Joe Caswell
When you set a custom property on a bucket, the custom settings as well as the current defaults are stored and gossiped among the nodes. When Riak checks a property for a bucket, it checks for these previously stored settings first, then falls back on the default props. When you change default_buck

Re: bucket properties

2013-06-17 Thread John Daily
A couple of quick notes (that may be perfectly obvious, but just in case) to augment Joe's response: Nodes will have to be restarted before those properties take effect. Increasing n_val on buckets is risky: old keys will still only live on the original n_val (smaller) number of nodes, but requ

Re: One node reports cpu_sup error repeatedly

2013-06-17 Thread Joe Caswell
The cpu_sup module is not a Basho/Riak module. The specific error you noted is discussed on the erlang-questions list here: http://erlang.org/pipermail/erlang-questions/2008-May/034891.html It seems to be related to locales. Perhaps setting the mentioned environment variables when starting Riak w

How to search for records in JSON?

2013-06-17 Thread magnatua
How to search for records in JSON? For example: http://server.cc/riak/Scores/user12 { v: "{"score":0,"tab":14,"gold":255}" } How do I get all the records where the "gold" is more than 150 or equal 255? I'm installed the Riak Search hook on bucket. I have used example from riak php lib. $clie

Re: How to search for records in JSON?

2013-06-17 Thread Alexander Sicular
"gold" is nested so I believe the search term would be : v_gold:255 An underscore is used as the delimiter between nested keys. -Alexander Sicular @siculars On Jun 17, 2013, at 9:36 AM, magnatua wrote: > How to search for records in JSON? > > For example: > > http://server.cc/riak/Scores/u

riak-cs WAITING_FOR_ERLANG

2013-06-17 Thread Guy Morton
It's a bit like waiting for Godot, who never arrives. I am a riak-cs newbie, and I am stuck at this hurdle. Can someone please point me in the right direction? -- Guy Morton Web Development Manager Brüel & Kjær EMS This e-mail is confidential and may be read, copied and used only by the intende