apache / apache/incubator-pegasus

restore task can't be stoped manually

Open
#322 0 comments 0 reactions 0 assignees View on GitHub
type/bug
Dominant language
C++
Stars
2.1k
Forks
328
PR merge metrics
No merged PRs in 30d

Description

1、pegasus don‘t provide the tool to stop the “restore_app” task manualy.
2、when try stop it by “drop {app}”,the task still run,but the “query_restore_status” show “restore failed, because some partition's data is damaged on cold backup media”.
3、when restore anther app,the task must wait for the last task to complete,otherwise you'll see that progress is zero.

Contributor guide

Open the contributing guide

Research direction

The issue names the restore_app task, the drop {app} command, and query_restore_status; start by reproducing the stop and subsequent-restore sequences described there. Done means a restore task can be stopped manually, its status is accurate, and restoring another app does not wait on the prior task or show zero progress.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.