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

raftstore: don't panic when receiving stale snap #1443

Merged
merged 2 commits into from Dec 27, 2016

Conversation

BusyJay
Copy link
Member

@BusyJay BusyJay commented Dec 26, 2016

Stale snapshot isn't really a fatal error, it should always be retried.

@siddontang @hhkbp2 PTAL

}
}
None => {
warn!("{} snapshot generating failed at {} try time",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add metric counter for retry.

@siddontang
Copy link
Contributor

Rest LGTM

@hhkbp2
Copy link
Contributor

hhkbp2 commented Dec 26, 2016

LGTM

@ngaut
Copy link
Member

ngaut commented Dec 27, 2016

@siddontang PTAL

@siddontang
Copy link
Contributor

LGTM

@BusyJay BusyJay merged commit a781b19 into master Dec 27, 2016
@BusyJay BusyJay deleted the busyjay/dont-panic-for-stale-snap branch December 27, 2016 06:08
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

Successfully merging this pull request may close these issues.

None yet

4 participants