apache / apache/incubator-pegasus
restore task can't be stoped manually
- 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
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