riak-2 configuration questions

Hector Castro hector at basho.com
Wed Jan 22 10:33:01 EST 2014


Hi Bryce,

Responses are line below.

--
Hector


On Mon, Jan 20, 2014 at 3:49 PM, Bryce Verdier <bryceverdier at gmail.com> wrote:
> How does one change the default bucket properties in riak2?

`n_val` of the default bucket properties can be set with
`riak_core.default_bucket_props.n_val`

https://github.com/basho/riak_core/blob/develop/priv/riak_core.schema#L7

If there are other default bucket properties that you need to
override, you can create an `advanced.config` and just add the subset
of the old `app.config` you need.

> How does one change the number of simultaneous PB connections?

`pb_backlog` can be set with `riak_api.pb_backlog`

https://github.com/basho/riak_api/blob/develop/priv/riak_api.schema#L39

> How does one change the bitcask properties, e.g. expirey_secs?

`expiry_secs` can be set with `bitcask.expiry_secs`

https://github.com/basho/bitcask/blob/develop/priv/bitcask.schema#L266

> I'm sorry if this was already discussed in other emails, I wasn't able to
> find it.
>
> Thanks in advance!
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




More information about the riak-users mailing list