Skip to content

Commit

Permalink
log more info
Browse files Browse the repository at this point in the history
Signed-off-by: ekexium <[email protected]>
  • Loading branch information
ekexium committed Dec 12, 2024
1 parent 8f682a1 commit e5cef90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/locate/region_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -1742,6 +1742,12 @@ func (s *RegionRequestSender) onRegionError(
}

if isInvalidMaxTsUpdate(regionErr) {
logutil.Logger(bo.GetCtx()).Error(
"tikv reports `InvalidMaxTsUpdate`",
zap.String("message", regionErr.GetMessage()),
zap.Stringer("req", req),
zap.Stringer("ctx", ctx),
)
return false, errors.New(regionErr.String())
}

Expand Down

0 comments on commit e5cef90

Please sign in to comment.