-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix can't retry InstallSnapshot problem( #605 ) #606
Conversation
…cked when a new InstallSnapshot request arrives, see #605
Hi @312223105, Please sign Contributor License Agreement! After you signed CLA, we will automatically sync the status of this pull request in 3 minutes. |
@312223105 你好,先执行一下 |
} else if (m.request.getMeta().getLastIncludedIndex() > ds.request.getMeta().getLastIncludedIndex()) { | ||
// |is| is older | ||
// |ds| is older |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is error, the is
is installing snapshot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is line 625
also wrong? My understanding is that |xx|
means xx
is a variable. But there is no variable is
in code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
m
is is
, it was renamed someday before, but the comment was not changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* (fix) Fixed the problem that all InstallSnapshot sessions will be blocked when a new InstallSnapshot request arrives, see sofastack#605
* (fix) Fixed the problem that all InstallSnapshot sessions will be blocked when a new InstallSnapshot request arrives, see sofastack#605
Motivation:
Fixed the problem that all InstallSnapshot sessions will be blocked when a new InstallSnapshot request arrives, see #605
Result:
Fixes #605 .