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

Database left in an incorect state if interrupting an ongoing deployment #340

Open
PaulFarault opened this issue Jun 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@PaulFarault
Copy link
Contributor

An interrupted deployment keeps its status as RUNNING.

Is it a normal behavior? How to deal with this case as nothing failed but a few operations already succeeded?

@PaulFarault PaulFarault added the bug Something isn't working label Jun 30, 2023
@PaulFarault
Copy link
Contributor Author

It seems normal to left the database "as is" in this case. What we should look for is how to recover from this state (maybe using a resume?).

@sergkudinov
Copy link
Contributor

sergkudinov commented Jul 6, 2023

To my mind, if we have resume, it is naturally to have a pause command. In the context of TDP, it would be very useful.

Deployment process could be interrupted by the user in 2 manners:

  • sending a temination signal with CTRL+C or clossing the parrent process
  • running a command, for example tdp pause command or via tdp-server in the future.

With pause, we will need status PAUSED for deployments and operations. Having a detached mode from the terminal for the tdp deploy command would be also nice (option -d for example) . That would complement this current issue with a better usage.

@rpignolet what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants