pingcap / pingcap/tidb

lightning: return the wrong result of `TableProgress` when import gz file

Open
#48,661 1 comment 0 reactions 0 assignees View on GitHub
affects-7.1 affects-7.5 affects-8.1 component/lightning severity/moderate type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)
Get the wrong result of `progress/task`.

### 2. What did you expect to see? (Required)
Get the normal size of `TotalWritten` and `TotalSize`.

### 3. What did you see instead (Required)
`- [2023/11/14 07:22:09.404 +00:00] [INFO] [agent.go:179] ["received response"] [logid=xxx] [trace_id=xxx] [method=GET] [url=http://.../progress/task] [status-code=200] [resp="{\"t\":{\"honda_test.reports\":{\"w\":351843720888320,\"z\":992935803202,\"s\":1}},\"s\":1}"]`

w > z.

### 4. What is your TiDB version? (Required)

v7.1.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.