Skip to content

task: allow checkpoint on pause state#5258

Merged
estesp merged 1 commit intocontainerd:masterfrom
fuweid:checkpoint-on-pause-state
Mar 26, 2021
Merged

task: allow checkpoint on pause state#5258
estesp merged 1 commit intocontainerd:masterfrom
fuweid:checkpoint-on-pause-state

Conversation

@fuweid
Copy link
Copy Markdown
Member

@fuweid fuweid commented Mar 24, 2021

task.Checkpoint should check status of container before handle
checkpoint. If the container has been paused, task.Checkpoint should
handle checkpoint and leave it paused.

Signed-off-by: Wei Fu [email protected]
Signed-off-by: Baijia [email protected]

@fuweid
Copy link
Copy Markdown
Member Author

fuweid commented Mar 24, 2021

2021-03-24T06:18:00.6511161Z     convert_test.go:50: failed to copy: stream error: stream ID 11; HTTP_1_1_REQUIRED

fail case in windows-2019

task.Checkpoint should check status of container before handle
checkpoint. If the container has been paused, task.Checkpoint should
handle checkpoint and leave it paused.

Signed-off-by: Wei Fu <[email protected]>
Signed-off-by: Baijia <[email protected]>
@fuweid fuweid force-pushed the checkpoint-on-pause-state branch from 78339b5 to 72b7f4b Compare March 24, 2021 08:42
@fuweid fuweid changed the title task: support checkpoint on pause state task: allow checkpoint on pause state Mar 24, 2021
@Ace-Tang
Copy link
Copy Markdown
Contributor

Reasonable to check status before pause, LGTM

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit effe226 into containerd:master Mar 26, 2021
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.

4 participants