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

Read/Write abortion on "Unresolvable Siblings" error #15

Open
ajtack opened this issue Jan 29, 2012 · 1 comment
Open

Read/Write abortion on "Unresolvable Siblings" error #15

ajtack opened this issue Jan 29, 2012 · 1 comment
Assignees
Labels

Comments

@ajtack
Copy link
Owner

ajtack commented Jan 29, 2012

"If debugging is the process of removing bugs, then programming must be the process of putting them in."

Currently, failure to resolve siblings (by throwing an exception, for instance) will cause undefined behavior and leaking. Users need to be able to abort a read or write if they encounter a sibling set that they cannot resolve. Their server can then report an error that allows them to resolve the case.

Suggest:

  1. A new error code riak::errc::unresolvable_siblings to report as the reason for the failed read/write to the application.
  2. An exception type (maybe riak::unresolvable_siblings? Check how to interact with system_error.) that sibling resolution routines can throw when they get into trouble.
@ghost ghost assigned ajtack Mar 11, 2012
@ajtack ajtack added the feature label Feb 15, 2014
@ajtack
Copy link
Owner Author

ajtack commented Jul 18, 2014

4190c4b Partially addresses this, at least making the behavior defined.

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