diff --git a/store/tikv/client.go b/store/tikv/client.go index aa6b95d251fe3..1e384087afb67 100644 --- a/store/tikv/client.go +++ b/store/tikv/client.go @@ -360,6 +360,7 @@ func (c *rpcClient) SendRequest(ctx context.Context, addr string, req *tikvrpc.R if config.GetGlobalConfig().TiKVClient.MaxBatchSize > 0 && enableBatch { if batchReq := req.ToBatchCommandsRequest(); batchReq != nil { defer trace.StartRegion(ctx, req.Type.String()).End() + logutil.BgLogger().Info("SendRequest", zap.Bool("staleRead", req.Context.StaleRead)) return sendBatchRequest(ctx, addr, connArray.batchConn, batchReq, timeout) } }