Skip to content

fix: handling process exits after restore#8

Merged
ctrox merged 1 commit intomainfrom
process-exits
May 4, 2024
Merged

fix: handling process exits after restore#8
ctrox merged 1 commit intomainfrom
process-exits

Conversation

@ctrox
Copy link
Copy Markdown
Owner

@ctrox ctrox commented May 4, 2024

When deleting the container at a point in time where the process is restored our shim would not get the exit signal. To fix this we need to setup the process handlers on restore as if it was a new container. We do this by hooking into the lifecycle with the preRestore and postRestore functions. This allows us to call the relevant task service functions to setup the exit handlers after every restore.

When deleting the container at a point in time where the process is
restored our shim would not get the exit signal. To fix this we need to
setup the process handlers on restore as if it was a new container. We
do this by hooking into the lifecycle with the preRestore and
postRestore functions. This allows us to call the relevant task service
functions to setup the exit handlers after every restore.
@ctrox ctrox merged commit 72bc23f into main May 4, 2024
@ctrox ctrox deleted the process-exits branch March 30, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant