Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andrewjstone opened this issue Apr 5, 2014 · 2 comments
Labels
Milestone

Comments

@andrewjstone
Copy link
Contributor

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}
@andrewjstone andrewjstone added this to the 2.0-RC milestone Apr 5, 2014
@andrewjstone andrewjstone added bug and removed bug labels Apr 5, 2014
@andrewjstone
Copy link
Contributor Author

Moving to 2.0.1 It's not critical, and there are other errors we should be more specific on as well.

@andrewjstone andrewjstone modified the milestones: 2.0.1, 2.0-RC May 23, 2014
@andrewjstone
Copy link
Contributor Author

Note that clients need to understand any new errors, hence the punt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant