Skip to content

Fix LCOW layer ordering#2993

Merged
crosbymichael merged 1 commit intocontainerd:masterfrom
kevpar:lcow-layer-order
Feb 12, 2019
Merged

Fix LCOW layer ordering#2993
crosbymichael merged 1 commit intocontainerd:masterfrom
kevpar:lcow-layer-order

Conversation

@kevpar
Copy link
Copy Markdown
Member

@kevpar kevpar commented Feb 8, 2019

Due to an error in the OCI specf for layerFolders, the runhcs shim was
passing the layers for LCOW in reverse order. This fixes the ordering
by simply removing the code which reversed the layers for LCOW.

Signed-off-by: Kevin Parsons [email protected]

Due to an error in the OCI specf for layerFolders, the runhcs shim was
passing the layers for LCOW in reverse order. This fixes the ordering
by simply removing the code which reversed the layers for LCOW.

Signed-off-by: Kevin Parsons <[email protected]>
@kevpar
Copy link
Copy Markdown
Member Author

kevpar commented Feb 8, 2019

@jterry75
Copy link
Copy Markdown
Contributor

jterry75 commented Feb 8, 2019

LGTM

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #2993 into master will decrease coverage by 3.61%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2993      +/-   ##
==========================================
- Coverage   47.58%   43.96%   -3.62%     
==========================================
  Files          92      102      +10     
  Lines        8505    10881    +2376     
==========================================
+ Hits         4047     4784     +737     
- Misses       3731     5362    +1631     
- Partials      727      735       +8
Flag Coverage Δ
#linux 47.58% <ø> (ø) ⬆️
#windows 41.18% <ø> (?)
Impacted Files Coverage Δ
snapshots/native/native.go 43.04% <0%> (-9.99%) ⬇️
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%) ⬇️
archive/tar_opts.go 28.57% <0%> (-4.77%) ⬇️
metadata/gc.go 61.51% <0%> (-4.71%) ⬇️
archive/compression/compression.go 58.69% <0%> (-4.7%) ⬇️
metadata/images.go 58.46% <0%> (-4.7%) ⬇️
... and 58 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 4543e32...225d9b1. Read the comment docs.

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

@crosbymichael crosbymichael merged commit f5b0fa2 into containerd:master Feb 12, 2019
@kevpar kevpar deleted the lcow-layer-order branch February 12, 2019 18:30
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