Skip to content

Return error stating consensus group doesn't exist instead of {error, timeout} #13

@andrewjstone

Description

@andrewjstone

When using the riak_ensemble_client API, {error, timeout} is returned instead of something like {error, no_such_ensemble}. An example is below.

%% ensemble2 and root2 do not exist
(dev1@127.0.0.1)49> riak_ensemble_client:kput_once(ensemble1, somekey, someval, 1000).
{ok,{obj,1,2855,somekey,someval}}
(dev1@127.0.0.1)48> riak_ensemble_client:kput_once(ensemble2, somekey, someval, 1000).
{error,timeout}
(dev1@127.0.0.1)53> riak_ensemble_client:kget(root, somekey, 1000).
{ok,{obj,2,82552,somekey,dsomeval}}
(dev1@127.0.0.1)54> riak_ensemble_client:kget(root2, somekey, 1000).
{error,timeout}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions