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

Distinct error codes #5

Open
immesys opened this issue Aug 29, 2016 · 0 comments
Open

Distinct error codes #5

immesys opened this issue Aug 29, 2016 · 0 comments
Assignees

Comments

@immesys
Copy link

immesys commented Aug 29, 2016

The exit code for attempting to get a key that does not exist, and attempting to get a key from a client that does not exist (e.g. wrong port) are the same, and I think this is true for all operations. Having a distinct exit code for when you are unable to connect to the KV store as opposed to the key not existing would be very useful.

In particular ceph-docker uses kviator to wait for a key to appear indicating setup is complete. At present if the wrong port is used it waits forever, but I cannot fix this behaviour until kviator gives me a portable indication. I cannot also compare on the error text because it differs between KV stores.

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

No branches or pull requests

2 participants