Skip to content
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

Log Backup Task Randomly Paused due to Failed to get Initial Snapshot #16554

Closed
YuJuncen opened this issue Feb 27, 2024 · 0 comments
Closed

Log Backup Task Randomly Paused due to Failed to get Initial Snapshot #16554

YuJuncen opened this issue Feb 27, 2024 · 0 comments
Labels

Comments

@YuJuncen
Copy link
Contributor

YuJuncen commented Feb 27, 2024

Bug Report

What version of TiKV are you using?

v6.5.x, but I guess this impacts all released versions (v6.5, v7.1, v7.5). (Maybe not for master because #16008 refines the retry strategy.)

What operating system and CPU are you using?

Irrelative.

Steps to reproduce

Start a log backup task in the cluster. Maybe trigger some merges or restarting TiKV.

What did you expect?

Log backup should run normally.

What did happened?

It encountered a fatal error:

retry time exceeds: and error and error failed to get initial snapshot: 
failed to get the snapshot (region_id = ...): 
Error during requesting raftstore: message: "read index not ready, reason can not read index due to merge, region ..." read_index_not_ready { reason: "can not read index due to merge" region_id: ... }: 
failed to get initial snapshot: failed to get the snapshot (region_id = ...): 
Error during requesting raftstore: message: "read index not ready, reason can not read index due to merge, region ..." read_index_not_ready { reason: "can not read index due to merge" region_id: ... }: 
failed to get initial snapshot: failed to get the snapshot (region_id = ...): 
Error during requesting raftstore: message: "read index not ready, reason can not read index due to merge, region ..." read_index_not_ready { reason: "can not read index due to merge" region_id: ... }

Or, sometimes:

retry time exceeds: and error and error failed to get initial snapshot: 
failed to get the snapshot (region_id = ...): 
Other Error: [components/backup-stream/src/event_loader.rs:320]: message 'CaptureChange' dropped for region ...: oneshot canceled: failed to get initial snapshot: 
failed to get the snapshot (region_id = ...): 
Other Error: [components/backup-stream/src/event_loader.rs:320]: message 'CaptureChange' dropped for region ...: oneshot canceled: failed to get initial snapshot: 
failed to get the snapshot (region_id = ...): 
Other Error: [components/backup-stream/src/event_loader.rs:320]: message 'CaptureChange' dropped for region ...: oneshot canceled
@YuJuncen YuJuncen added the type/bug Type: Issue - Confirmed a bug label Feb 27, 2024
@jebter jebter added the component/backup-restore Component: backup, import, external_storage label Feb 28, 2024
ti-chi-bot bot added a commit that referenced this issue Mar 12, 2024
close #16469, ref #16554

Signed-off-by: Yu Juncen <yu745514916@live.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot pushed a commit to ti-chi-bot/tikv that referenced this issue Mar 13, 2024
close tikv#16469, ref tikv#16554

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
dbsid pushed a commit to dbsid/tikv that referenced this issue Mar 24, 2024
close tikv#16469, ref tikv#16554

Signed-off-by: Yu Juncen <yu745514916@live.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Signed-off-by: dbsid <chenhuansheng@pingcap.com>
ti-chi-bot bot added a commit that referenced this issue Mar 27, 2024
ref #16554

Signed-off-by: Yu Juncen <yu745514916@live.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot pushed a commit to ti-chi-bot/tikv that referenced this issue May 7, 2024
close tikv#16469, ref tikv#16554

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants