On 22 February 2016 at 16:10, Chathuri Gunawardhana <
lanch.gunawardh...@gmail.com> wrote:

> I'm using riak master version on riak github (riak_kv_version :
> <<"2.1.1-38-ga8bc9e0">>)
> . I don't use coverage queries.
>
> When I try to set the partition count over 1024, it suggest me to do it
> via advanced config (in cuttlefish schema for riak core, there is a
> validation to see whether it is above 1024 and if so they give this
> suggestion). But I don't know how I can add this parameter to
> advanced.config.
>
> Thank you very much!
>

Hi Chaturi,

$ riak config describe ring_size
Documentation for ring_size
Number of partitions in the cluster (only valid when first
creating the cluster). Must be a power of 2, minimum 8 and maximum
1024.

   Valid Values:
     - an integer
   Default Value : 64
   Value not set in /etc/riak/riak.conf
   Internal key  : riak_core.ring_creation_size

Cuttlefish configuration schemas are self-describing (via the riak config
describe command). You can use the name of the internal key in
advanced.config. If there's nothing else in advanced.config yet, the
setting looks like

[
 {riak_core,
  [
   {ring_creation_size, 2048}
  ]
 }
].

Also see
http://docs.basho.com/riak/latest/ops/advanced/configs/configuration-files/#Advanced-Configuration
for more details about using the advanced configuration file.

I hope this helps.

Kind Regards,

Magnus


-- 
Magnus Kessler
Client Services Engineer
Basho Technologies Limited

Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to