Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented Mar 7, 2019

Currently the objects which can retain content from labels are limited. This limitation has required clients to work around this and and in some cases add outside reference counting (e.g. buildkit keeping content for snapshots). Updated the logic to treat content and snapshot labels equally and simplified the code in the process.

Currently the objects which can retain content from labels
are limited. This limitation has required clients to work
around this and and in some cases add outside reference
counting (e.g. buildkit keeping content for snapshots).
Updated the logic to treat content and snapshot labels equally
and simplified the code in the process.

Signed-off-by: Derek McGowan <[email protected]>
(cherry picked from commit 7cfb99a)
Signed-off-by: Derek McGowan <[email protected]>
@codecov-io
Copy link

Codecov Report

Merging #3080 into release/1.2 will increase coverage by 0.08%.
The diff coverage is 94.87%.

Impacted file tree graph

@@               Coverage Diff               @@
##           release/1.2    #3080      +/-   ##
===============================================
+ Coverage        43.66%   43.75%   +0.08%     
===============================================
  Files              101      101              
  Lines            10754    10736      -18     
===============================================
+ Hits              4696     4697       +1     
+ Misses            5329     5309      -20     
- Partials           729      730       +1
Flag Coverage Δ
#linux 47.38% <93.93%> (+0.03%) ⬆️
#windows 40.84% <94.87%> (+0.08%) ⬆️
Impacted Files Coverage Δ
metadata/gc.go 64.95% <94.87%> (+3.43%) ⬆️

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 f3ab47d...17a4289. Read the comment docs.

Copy link
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

@crosbymichael
Copy link
Member

LGTM

@crosbymichael crosbymichael merged commit 0b7e80e into containerd:release/1.2 Mar 7, 2019
@dmcgowan dmcgowan deleted the backport-1.2-gc-content-references branch September 10, 2019 17:43
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