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

store/tikv: update max backoff. #2746

Merged
merged 4 commits into from
Mar 1, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions store/tikv/backoff.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,17 @@ func (t backoffType) String() string {
const (
copBuildTaskMaxBackoff = 5000
tsoMaxBackoff = 5000
scannerNextMaxBackoff = 5000
batchGetMaxBackoff = 10000
copNextMaxBackoff = 10000
getMaxBackoff = 10000
prewriteMaxBackoff = 10000
commitMaxBackoff = 10000
scannerNextMaxBackoff = 15000
batchGetMaxBackoff = 15000
copNextMaxBackoff = 15000
getMaxBackoff = 15000
prewriteMaxBackoff = 15000
commitMaxBackoff = 15000
commitPrimaryMaxBackoff = -1
cleanupMaxBackoff = 10000
cleanupMaxBackoff = 15000
gcMaxBackoff = 100000
gcResolveLockMaxBackoff = 100000
rawkvMaxBackoff = 5000
rawkvMaxBackoff = 15000
)

// Backoffer is a utility for retrying queries.
Expand Down