remove log for EpochNotMatch (#307)

Signed-off-by: marsishandsome <marsishandsome@gmail.com>
This commit is contained in:
Liangliang Gu 2021-11-03 13:21:30 +08:00 committed by GitHub
parent 9dc277141b
commit e1c27941b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -120,9 +120,7 @@ public class RegionErrorHandler<RespT> implements ErrorHandler<RespT> {
return false; return false;
} else if (error.hasEpochNotMatch()) { } else if (error.hasEpochNotMatch()) {
logger.warn( logger.warn(
String.format( String.format("tikv reports `EpochNotMatch` retry later, region: %s", recv.getRegion()));
"tikv reports `EpochNotMatch` retry later, region: %s, EpochNotMatch: %s",
recv.getRegion(), error.getEpochNotMatch()));
return onRegionEpochNotMatch(backOffer, error.getEpochNotMatch().getCurrentRegionsList()); return onRegionEpochNotMatch(backOffer, error.getEpochNotMatch().getCurrentRegionsList());
} else if (error.hasServerIsBusy()) { } else if (error.hasServerIsBusy()) {
// this error is reported from kv: // this error is reported from kv: