-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
layer: remove metadata store interface #36504
layer: remove metadata store interface #36504
Conversation
Layer metadata storage has not been implemented outside of the layer store and will be deprecated by containerd metadata storage. To prepare for this and freeze the current metadata storage, remove the exported interface and make it internal to the layer store. Signed-off-by: Derek McGowan <derek@mcgstyle.net>
ping @tonistiigi @dnephin PTAL |
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.
LGTM
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #36504 +/- ##
=========================================
Coverage ? 34.67%
=========================================
Files ? 613
Lines ? 45405
Branches ? 0
=========================================
Hits ? 15742
Misses ? 27604
Partials ? 2059 |
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.
LGTM
Layer metadata storage has not been implemented outside of the layer store and will be deprecated by containerd metadata storage. To prepare for this and freeze the current metadata storage, remove the exported interface and make it internal to the layer store.
Note: the original intent of exposing this interface was to make it possible in the future to use a transactional datastore rather than rely on keeping files on disk in sync. This ended up being achieved in containerd, which does not make use of this interface. This refactoring will also help in transitioning graph drivers to snapshotters by allowing shared functionality (e.g. diff, mount) to be pulled up into the layer store (without making confusing interface changes) before moving to containerd.