-
Notifications
You must be signed in to change notification settings - Fork 143
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
Make last_log_id
an Option<LogId>
, or it can not express an uninitialized state
#49
Comments
👋 Thanks for opening this issue! Get help or engage by:
|
/assignme |
Hi~ I have an idea to discuss with you guys, make last_log_id an
use What do you think? Also regarding the error type returned, should I add a new error type or return an existing error? Would like to hear your suggestions! @drmingdrmer @Veeupup |
IMHO, the root cause of there being a lot of Returning an error is no better than an My suggestion is:
|
I see, thanks for the advice! |
openraft/openraft/src/core/mod.rs
Line 140 in 344d444
The text was updated successfully, but these errors were encountered: