-
Notifications
You must be signed in to change notification settings - Fork 156
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
Implemented the backend of Metadata APIs as MetadataStoreRegistry #5471
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
This reverts commit 3707f8d. Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
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.
The overview is good, and deleting the metadata store from the controller/planner is nice.
I have one concern about deployment metadata.
We will face a weird bug when multiple plugins use the same key to store deployment metadata.
I think it's good to append the plugin-name prefix to the deployment metadata key, WDYT?
Oops, we don't have a way to determine the plugin that requests piped to store deployment metadata. It's difficult to append the plugin-name prefix... |
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.
It's okay to start with this implementation.
Let's re-think this when we implement a way to determine which plugin sends requests to the piped service.
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
Signed-off-by: t-kikuc <[email protected]>
@Warashi A plugin will
|
After merging this PR, I'll create a PR with this branch: |
Signed-off-by: t-kikuc <[email protected]>
I solved the conflict: 3f448d0 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5471 +/- ##
==========================================
+ Coverage 26.24% 26.30% +0.06%
==========================================
Files 458 459 +1
Lines 49364 49456 +92
==========================================
+ Hits 12954 13009 +55
- Misses 35383 35415 +32
- Partials 1027 1032 +5 ☔ View full report in Codecov by Sentry. |
What this PR does:
MetadataStoreRegistry
Register()
.Overview of New MetadataStore:
Why we need it:
MetadataStoreRegistry
is needed because PluginServiceServer does not exist per Deployment.Note:
I want to refactor some points in
pkg/app/pipedv1/metadatastore/store.go
after this PR.deploymentID
instead of the wholedeployment
(here)I won't make drastic changes in the store.
Which issue(s) this PR fixes:
Part of #4980
Follows #5469
Does this PR introduce a user-facing change?: