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

Provide a programmatic way to cancel #60

Open
ricellis opened this issue May 19, 2017 · 1 comment
Open

Provide a programmatic way to cancel #60

ricellis opened this issue May 19, 2017 · 1 comment

Comments

@ricellis
Copy link
Member

One for consideration.
Currently if you are using the API and you call the backup or restore functions there is no way to abort/cancel. For example if I was to try and write a dashboard to control backup and restore using the API there is no functionality I could use to implement a cancel button. Since backup and restore tend to be long running processes potentially processing many GBs or more it seems like this could be a valuable addition.

Using the CLI the process can simply be sent a signal in order to terminate early.

  • couchbackup/couchrestore version(s) that are affected by this issue.

1.4.0, 2.0.0-SNAPSHOT

  • Node.js version.

Any

@ricellis ricellis added this to the Later milestone May 19, 2017
@ricellis
Copy link
Member Author

Note that if/when this is attempted then (assuming #65 has also been completed) it should be possible to enable cancel/resume testing for API cases as well as CLI by adding a call to whatever cancellation mechanism is implemented from the test framework's backupAbort function.

This was referenced May 26, 2017
@ricellis ricellis removed this from the Later milestone Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant