pingcap / pingcap/tidb

br: log restore slow with tiny log files

Open
#44,519 2 comments 0 reactions 0 assignees View on GitHub
affects-7.1 component/br may-affects-5.1 may-affects-5.2 may-affects-5.3 may-affects-5.4 may-affects-6.1 may-affects-6.5 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)
log restore slow with tiny log files

### 2. What did you expect to see? (Required)

### 3. What did you see instead (Required)
[2023/06/06 18:30:21.960 +00:00] [INFO] [collector.go:77] ["restore log success summary"] [total-take=16h50m44.526988596s] [restore-from=441828487138902047] [restore-to=441849642749526058] [restore-from="2023-05-30 10:18:41.764 +0000"] [restore-to="2023-05-31 08:43:44.014 +0000"] [total-kv-count=2590751654] [skipped-kv-count-by-checkpoint=0] [total-size=586.3GB] [skipped-size-by-checkpoint=0B] [average-speed=9.667MB/s]
### 4. What is your TiDB version? (Required)
sh-5.1# /br --version
Release Version: v7.1.0
Git Commit Hash: fd2314159d1a81c8b13e5d61e53dcd527cb35494
Git Branch: heads/refs/tags/v7.1.0
Go Version: go1.20.3
UTC Build Time: 2023-05-24 02:08:51
Race Enabled: false

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.