diff --git a/internal/locate/region_cache.go b/internal/locate/region_cache.go index 4fde8c5f..fbf6b458 100644 --- a/internal/locate/region_cache.go +++ b/internal/locate/region_cache.go @@ -777,7 +777,7 @@ func (c *RegionCache) GetTiFlashComputeRPCContextByConsistentHash(bo *retry.Back return nil, err } if rpcCtx == nil { - return nil, errors.Errorf("rpcCtx is nil", zap.Any("region", id)) + return nil, errors.Errorf("rpcCtx is nil, region: %v", id) } var store *Store