pingcap / pingcap/tidb

Error: unexpected end of JSON input when restore

Open
#36,379 2 comments 0 reactions 0 assignees View on GitHub
component/br 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)
1. use nightly BR to full backup nightly tidb
- or `use 6.1.0 BR to backup 6.1.0 tidb`, restore will fail with same error
2. use 6.0.0 BR to full restore 6.0.0 tidb

log
[backup.log](https://github.com/pingcap/tidb/files/9149628/backup.log)
[restore.log](https://github.com/pingcap/tidb/files/9149491/br.log)

### 2. What did you expect to see? (Required)
success
### 3. What did you see instead (Required)
```
[2022/07/20 19:20:59.556 +08:00] [INFO] [collector.go:67] ["Full Restore failed summary"] [total-ranges=0] [ranges-succeed=0] [ranges-failed=0]
Error: unexpected end of JSON input
```
### 4. What is your TiDB version? (Required)

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.