Skip to content

Remove v1.10 migrator#38265

Merged
vdemeester merged 1 commit intomoby:masterfrom
AkihiroSuda:remove-migrate-v1
Dec 11, 2018
Merged

Remove v1.10 migrator#38265
vdemeester merged 1 commit intomoby:masterfrom
AkihiroSuda:remove-migrate-v1

Conversation

@AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented Nov 24, 2018

The v1.10 layout and the migrator was added in 2015 via #17924.

Although the migrator is not marked as "deprecated" explicitly in
cli/docs/deprecated.md, I suppose people should have already migrated
from pre-v1.10 and they no longer need the migrator, because pre-v1.10
version do not support schema2 images (and these versions no longer
receives security updates).

Signed-off-by: Akihiro Suda [email protected]

The v1.10 layout and the migrator was added in 2015 via moby#17924.

Although the migrator is not marked as "deprecated" explicitly in
cli/docs/deprecated.md, I suppose people should have already migrated
from pre-v1.10 and they no longer need the migrator, because pre-v1.10
version do not support schema2 images (and these versions no longer
receives security updates).

Signed-off-by: Akihiro Suda <[email protected]>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah thaJeztah requested a review from tonistiigi November 26, 2018 10:12
@tiborvass
Copy link
Contributor

I'm fine with it, but would be good to get @tonistiigi and @andrewhsu to chime in.

Copy link
Member

@lowenna lowenna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No concerns from the Windows side

@codecov
Copy link

codecov bot commented Nov 29, 2018

Codecov Report

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

@@            Coverage Diff             @@
##           master   #38265      +/-   ##
==========================================
- Coverage   36.08%   35.87%   -0.22%     
==========================================
  Files         610      609       -1     
  Lines       45236    45244       +8     
==========================================
- Hits        16325    16230      -95     
- Misses      26669    26823     +154     
+ Partials     2242     2191      -51

Copy link
Contributor

@andrewhsu andrewhsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM w.r.t. removing deadwood code

@tonistiigi
Copy link
Member

SGTM

@thaJeztah
Copy link
Member

Quick chat with @tonistiigi - he's ok with removing this, but wondered if we could produce a decent error message if we run into store that wasn't migrated yet; I'm not sure if there's an easy way to detect that without scanning all directories; if there is, I think that would be a nice follow-up, but if we need to scan all directories, then I think we should leave it as is

@thaJeztah
Copy link
Member

Moved this one to "merge", but if you want to make that enhancement in this PR @AkihiroSuda, let me know, otherwise feel free to push the merge button 👍

kolyshkin added a commit to kolyshkin/moby that referenced this pull request May 21, 2019
This is an additon to commit 1fea388 ("Remove v1.10 migrator")
aka PR moby#38265. Since that one, CreateRWLayerByGraphID() is not
used anywhere, so let's drop it.

Signed-off-by: Kir Kolyshkin <[email protected]>
thaJeztah pushed a commit to thaJeztah/docker that referenced this pull request May 25, 2019
This is an additon to commit 1fea388 ("Remove v1.10 migrator")
aka PR moby#38265. Since that one, CreateRWLayerByGraphID() is not
used anywhere, so let's drop it.

Signed-off-by: Kir Kolyshkin <[email protected]>
(cherry picked from commit b4e9b50)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah pushed a commit to thaJeztah/docker that referenced this pull request May 25, 2019
This is an additon to commit 1fea388 ("Remove v1.10 migrator")
aka PR moby#38265. Since that one, CreateRWLayerByGraphID() is not
used anywhere, so let's drop it.

Signed-off-by: Kir Kolyshkin <[email protected]>
(cherry picked from commit b4e9b50)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants