Skip to content

fix: view snapshot is deleted before diff#3408

Merged
estesp merged 1 commit intocontainerd:masterfrom
wangpeng168:master
Jul 15, 2019
Merged

fix: view snapshot is deleted before diff#3408
estesp merged 1 commit intocontainerd:masterfrom
wangpeng168:master

Conversation

@wangpeng168
Copy link
Copy Markdown
Contributor

When using devmapper snapshotter to execute the following command error:
ctr snapshots --snapshotter devmapper diff idA idB

Root cause: view snapshot is deleted before diff

Signed-off-by: Peng Wang [email protected]

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 13, 2019

Build succeeded.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jul 13, 2019

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3408      +/-   ##
==========================================
- Coverage   48.98%   45.05%   -3.94%     
==========================================
  Files         102      113      +11     
  Lines        9903    12563    +2660     
==========================================
+ Hits         4851     5660     +809     
- Misses       4207     6049    +1842     
- Partials      845      854       +9
Flag Coverage Δ
#linux 48.98% <ø> (ø) ⬆️
#windows 40.27% <ø> (?)
Impacted Files Coverage Δ
snapshots/native/native.go 43.04% <0%> (-9.99%) ⬇️
cio/io.go 46.47% <0%> (-8.53%) ⬇️
metadata/snapshot.go 47.52% <0%> (-8.26%) ⬇️
archive/tar.go 43.79% <0%> (-7.07%) ⬇️
metadata/containers.go 47.97% <0%> (-6.62%) ⬇️
content/local/writer.go 58.65% <0%> (-5.55%) ⬇️
content/local/store.go 49.52% <0%> (-5.29%) ⬇️
metadata/images.go 57.57% <0%> (-4.99%) ⬇️
archive/tar_opts.go 28.57% <0%> (-4.77%) ⬇️
archive/compression/compression.go 58.69% <0%> (-4.7%) ⬇️
... and 63 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 f2b6c31...4988424. Read the comment docs.

Comment thread cmd/ctr/commands/snapshots/snapshots.go Outdated
Comment thread cmd/ctr/commands/snapshots/snapshots.go Outdated
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 14, 2019

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 adb8b02 into containerd:master Jul 15, 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