Skip to content

converter: use OpenWriter helper function#5367

Merged
estesp merged 1 commit intocontainerd:masterfrom
ktock:cvt-openwriter
Apr 15, 2021
Merged

converter: use OpenWriter helper function#5367
estesp merged 1 commit intocontainerd:masterfrom
ktock:cvt-openwriter

Conversation

@ktock
Copy link
Copy Markdown
Member

@ktock ktock commented Apr 15, 2021

When several goroutines call uncompress converter in parallel, the ref name conflicts with each other. This leads to Writer method failing with Unavaliable error without retry.
For solving this issue, OpenWriter helper should be used. This allows them to retry in such situations.

When several goroutines call uncompress converter in parallel, the ref name
conflicts each other. This leads to Writer method failing with Unavaliable error
without retry.
For solving this issue, OpenWriter helper should be used. This allows them to
retry in such situations.

Signed-off-by: Kohei Tokunaga <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Apr 15, 2021

Build succeeded.

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 5b1bbb2 into containerd:master Apr 15, 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.

3 participants