Skip to content

error parsing riak.conf with multi_backend and bitcask.expiry set #590

@pma

Description

@pma

Adding the following to riak.conf will cause an error:

multi_backend.bitcask_expiry_1d.bitcask.io_mode = erlang
multi_backend.bitcask_expiry_1d.bitcask.data_root = $(platform_data_dir)/bitcask_expiry_1d
multi_backend.bitcask_expiry_1d.bitcask.expiry = 1d
multi_backend.bitcask_expiry_1d.bitcask.expiry.grace_time = 1

The problematic line is the one adding expiry. If commented 'riak config generate -l debug' will run ok. But when included it will fail with:

04:10:58.186 [error] Error generating configuration in phase apply_translations
04:10:58.186 [error] Error running translation for riak_kv.multi_backend, [error, badarg].

System used:

Linux node1 3.15.4-x86_64-linode45 #1 SMP Mon Jul 7 08:42:36 EDT 2014 x86_64 GNU/Linux
Riak 2.0.0RC1 (.deb for Debian Wheezy)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions