From a2a35c1088c79034f7c4e5630b3304a48ddf7bbd Mon Sep 17 00:00:00 2001 From: disksing Date: Wed, 1 Mar 2017 14:08:55 +0800 Subject: [PATCH] store/tikv: update max backoff. (#2746) --- store/tikv/backoff.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/store/tikv/backoff.go b/store/tikv/backoff.go index 1972bded7f374..25861cb0351f1 100644 --- a/store/tikv/backoff.go +++ b/store/tikv/backoff.go @@ -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.