We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Currently promote_leader can panic on a failure case.
promote_leader
https://github.com/pingcap/raft-rs/blob/1e0741a9aea3b242d33dadc46245ad611e7e7aa4/src/progress.rs#L129-L136
This issue would be solved if promote_leader() instead returned a value such as Result<()> so the calling code can handle the situation.
promote_leader()
Result<()>
The text was updated successfully, but these errors were encountered:
This is resolved in #102
Sorry, something went wrong.
No branches or pull requests
Currently
promote_leader
can panic on a failure case.https://github.com/pingcap/raft-rs/blob/1e0741a9aea3b242d33dadc46245ad611e7e7aa4/src/progress.rs#L129-L136
This issue would be solved if
promote_leader()
instead returned a value such asResult<()>
so the calling code can handle the situation.The text was updated successfully, but these errors were encountered: