Increase number of partitions above 1024

Chathuri Gunawardhana lanch.gunawardhana at gmail.com
Tue Feb 23 04:15:18 EST 2016


Yeah It worked. Thank you vey much!

On Tue, Feb 23, 2016 at 9:54 AM, Magnus Kessler <mkessler at basho.com> wrote:

> On 22 February 2016 at 16:10, Chathuri Gunawardhana <
> lanch.gunawardhana at 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
>



-- 
Chathuri Gunawardhana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160223/34280b51/attachment-0002.html>


More information about the riak-users mailing list