Skip to content

[release/1.2] cherrypick: Use context.Background for O_NONBLOCK OpenFifo.#2955

Merged
dmcgowan merged 1 commit intocontainerd:release/1.2from
Random-Liu:cherrypick-#2944-release-1.2
Jan 24, 2019
Merged

[release/1.2] cherrypick: Use context.Background for O_NONBLOCK OpenFifo.#2955
dmcgowan merged 1 commit intocontainerd:release/1.2from
Random-Liu:cherrypick-#2944-release-1.2

Conversation

@Random-Liu
Copy link
Copy Markdown
Member

Cherrypick of #2944 .

In release 1.2, we don't have new ttrpc, so we don't have the OpenFifo stopped by context cancellation issue. However, we still have the un-cancelled 30s timeout context issue mentioned in #2944 (comment).

Signed-off-by: Lantao Liu [email protected]

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #2955 into release/1.2 will decrease coverage by 3.67%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##           release/1.2   #2955      +/-   ##
==============================================
- Coverage        47.48%   43.8%   -3.68%     
==============================================
  Files               91     100       +9     
  Lines             8407   10720    +2313     
==============================================
+ Hits              3992    4696     +704     
- Misses            3692    5295    +1603     
- Partials           723     729       +6
Flag Coverage Δ
#linux 47.48% <ø> (ø) ⬆️
#windows 40.89% <ø> (?)
Impacted Files Coverage Δ
snapshots/native/native.go 43.3% <0%> (-10%) ⬇️
metadata/snapshot.go 45.8% <0%> (-8.96%) ⬇️
archive/tar.go 43.79% <0%> (-7.07%) ⬇️
metadata/containers.go 47.97% <0%> (-6.62%) ⬇️
content/local/writer.go 57.84% <0%> (-6.36%) ⬇️
content/local/store.go 48.51% <0%> (-5.03%) ⬇️
remotes/docker/resolver.go 58.36% <0%> (-4.99%) ⬇️
archive/tar_opts.go 28.57% <0%> (-4.77%) ⬇️
archive/compression/compression.go 58.69% <0%> (-4.7%) ⬇️
metadata/images.go 58.46% <0%> (-4.7%) ⬇️
... and 56 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa60b5b...ab2cf01. Read the comment docs.

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

1 similar comment
@dmcgowan
Copy link
Copy Markdown
Member

LGTM

@dmcgowan dmcgowan merged commit af90015 into containerd:release/1.2 Jan 24, 2019
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