From e1c27941b0b417edb42692f9e77e1964fbb9dc6c Mon Sep 17 00:00:00 2001 From: Liangliang Gu Date: Wed, 3 Nov 2021 13:21:30 +0800 Subject: [PATCH] remove log for EpochNotMatch (#307) Signed-off-by: marsishandsome --- .../java/org/tikv/common/operation/RegionErrorHandler.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/tikv/common/operation/RegionErrorHandler.java b/src/main/java/org/tikv/common/operation/RegionErrorHandler.java index 7c17c80e4b..2e4ab56b04 100644 --- a/src/main/java/org/tikv/common/operation/RegionErrorHandler.java +++ b/src/main/java/org/tikv/common/operation/RegionErrorHandler.java @@ -120,9 +120,7 @@ public class RegionErrorHandler implements ErrorHandler { return false; } else if (error.hasEpochNotMatch()) { logger.warn( - String.format( - "tikv reports `EpochNotMatch` retry later, region: %s, EpochNotMatch: %s", - recv.getRegion(), error.getEpochNotMatch())); + String.format("tikv reports `EpochNotMatch` retry later, region: %s", recv.getRegion())); return onRegionEpochNotMatch(backOffer, error.getEpochNotMatch().getCurrentRegionsList()); } else if (error.hasServerIsBusy()) { // this error is reported from kv: