-
Notifications
You must be signed in to change notification settings - Fork 18.9k
No global volume driver store #36637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ae8d570 to
37cb8d0
Compare
37cb8d0 to
1f77321
Compare
Codecov Report
@@ Coverage Diff @@
## master #36637 +/- ##
==========================================
- Coverage 35.2% 35.15% -0.06%
==========================================
Files 614 613 -1
Lines 45698 45623 -75
==========================================
- Hits 16090 16040 -50
+ Misses 27473 27463 -10
+ Partials 2135 2120 -15 |
volume/drivers/proxy.go
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does something else need to be updated, because this is generated code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it just takes the package name from the package it's being run from.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change should probably go into the other commit that removes the old code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
1f77321 to
75de57c
Compare
|
Looks good overall. The change description threw me off a bit. "No global volume driver store" can also be interpreted "No more metadata.db" which is a big change. Can you reword the description to mean that you are talking about an internal data structure change? |
|
@anusha-ragunathan This isn't removing metadata.db |
|
@cpuguy83 : Yes I know, but the change description can be misinterpreted to mean that. I'm just asking you to re-word the commit description. i.e "No global volume driver store" can be reworded. |
|
ugh needs a rebase now 😥 |
Since the volume store already provides this functionality, we should just use it rather than duplicating it. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Instead of using a global store for volume drivers, scope the driver store to the caller (e.g. the volume store). This makes testing much simpler. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
|
Rebased and added more details to the commit message. |
75de57c to
977109d
Compare
|
Failure on s390 (https://jenkins.dockerproject.org/job/Docker-PRs-s390x/9399/console) is being tracked through #36877; |
|
Failure on experimentalalso should not be related https://jenkins.dockerproject.org/job/Docker-PRs-experimental/40285/console: |
|
LGTM |
|
Experimental failing again, on another test; https://jenkins.dockerproject.org/job/Docker-PRs-experimental/40287/console |
|
Refactors volume driver storage to not use a global store.
This makes things a bit nicer to deal with, especially in tests which are now much more easily parallelized.