Skip to content
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

Copy contrib's storage interface to core #3425

Merged
merged 8 commits into from
Aug 4, 2021

Conversation

pmm-sumo
Copy link
Contributor

@pmm-sumo pmm-sumo commented Jun 11, 2021

Description: As discussed during the SIG, we want to move storage extension to core, starting with the interface (this PR) so persistent buffer implementation (#2285) could use it

Link to tracking Issue: #3424

Testing: Just the interface, no tests

Documentation: README.md with API

cc @djaglowski @tigrannajaryan

@pmm-sumo pmm-sumo requested review from a team and tigrannajaryan June 11, 2021 17:25
@tigrannajaryan
Copy link
Member

Before we review/merge this let's make sure we are happy about the direction that #3274 goes into. I want to make sure the disk buffering use case is nicely handled by this storage interface.

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2021

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@tigrannajaryan
Copy link
Member

@pmm-sumo is this up-to-date and ready for review?

@pmm-sumo
Copy link
Contributor Author

pmm-sumo commented Jul 30, 2021

@pmm-sumo is this up-to-date and ready for review?

@tigrannajaryan there's one suggestion I mentioned above (and going to apply it) and other than that it's up-to-date. API + implementation is also available in opentelemetry-collector-contrib PR#4145 (there are several strategies how we might apply those changes altogether, one is that we could merge API first, then update contrib's core version, extract implementation into a separate PR and merge it)

EDIT: I have just applied the suggestion on operation type and rebased with main

extension/storage/storage.go Outdated Show resolved Hide resolved
extension/storage/storage.go Outdated Show resolved Hide resolved
extension/storage/storage.go Show resolved Hide resolved
Copy link
Member

@tigrannajaryan tigrannajaryan left a comment

Choose a reason for hiding this comment

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

LGTM, just a couple minor comments.

@tigrannajaryan
Copy link
Member

@pmm-sumo I will merge after you respond/resolve comments (non of my comments are blocking).

@tigrannajaryan tigrannajaryan merged commit 999f565 into open-telemetry:main Aug 4, 2021
@tigrannajaryan
Copy link
Member

@pmm-sumo thanks for patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion-needed Community discussion needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants