-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
br: rawkv backup failed #32607
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
component/br
This issue is related to BR of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Comments
/assign |
pingyu
added a commit
to pingyu/tidb
that referenced
this issue
Feb 24, 2022
Issue Number: pingcap#32607 Signed-off-by: pingyu <[email protected]>
pingyu
added a commit
to pingyu/tidb
that referenced
this issue
Feb 24, 2022
Issue Number: close pingcap#32607 Signed-off-by: pingyu <[email protected]>
ti-chi-bot
added
may-affects-4.0
This bug maybe affects 4.0.x versions.
may-affects-5.0
This bug maybe affects 5.0.x versions.
may-affects-5.1
This bug maybe affects 5.1.x versions.
may-affects-5.2
This bug maybe affects 5.2.x versions.
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
labels
Feb 24, 2022
3pointer
added
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
and removed
may-affects-4.0
This bug maybe affects 4.0.x versions.
may-affects-5.1
This bug maybe affects 5.1.x versions.
may-affects-5.2
This bug maybe affects 5.2.x versions.
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-5.0
This bug maybe affects 5.0.x versions.
labels
Feb 28, 2022
pingyu
added a commit
to pingyu/tidb
that referenced
this issue
Mar 1, 2022
Issue Number: close pingcap#32607 Signed-off-by: pingyu <[email protected]>
ti-chi-bot
pushed a commit
that referenced
this issue
Mar 3, 2022
This was referenced Mar 3, 2022
pingyu
added a commit
to ti-srebot/tidb
that referenced
this issue
Apr 12, 2022
Issue Number: ref pingcap#32607 Signed-off-by: pingyu <[email protected]>
pingyu
added a commit
to ti-srebot/tidb
that referenced
this issue
Apr 12, 2022
Issue Number: ref pingcap#32607 Signed-off-by: pingyu <[email protected]>
pingyu
added a commit
to ti-srebot/tidb
that referenced
this issue
Apr 13, 2022
Issue Number: ref pingcap#32607 Signed-off-by: pingyu <[email protected]>
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 15, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 28, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Jun 17, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
component/br
This issue is related to BR of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Background
An user reported a failure of BR backup rawkv (ONCALL-4497) as following:
Backup rawkv by executing:
It failed and printed:
TiKV panic with log:
TiKV panic at https://github.com/tikv/tikv/blob/dbb3d3a7ea092bb3c7442c54bed19987caa26bd1/components/backup/src/endpoint.rs#L714, a branch should enter with
is_raw_kv = false
.BR error printed at https://github.com/pingcap/br/blob/v5.0.4/pkg/backup/client.go#L738. In which the procedure
fineGrainedBackup
entered when part of the range is not completed inpush.pushBackup
.It would be inevitable for
push.pushBackup
to not complete the whole range if some errors (e.g. region error) happen during backup.So I try to reproduce the failure by ingest such an error in
push.pushBackup
.1. Minimal reproduce step (Required)
push.pushBackup
(see the code), to enterfineGrainedBackup
.tiup playground nightly --db 0 --tiflash 0 --kv 3 --pd 1
raw_put
of client-go. There are about 40 regions after import.tidb/bin/br backup raw --pd $PD -s "local:///disk1/home/pingyu/workspace/brdata" --cf default
2. What did you expect to see? (Required)
Backup successfully without error.
3. What did you see instead (Required)
BR stuck at 78.57%.
All TiKV panic with log:
4. What is your TiDB version? (Required)
TiDB: N/A
BR:
TiKV:
The text was updated successfully, but these errors were encountered: