-
Notifications
You must be signed in to change notification settings - Fork 640
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
feat(plugins): Plugin version pinning #791
Conversation
|
||
@RestController | ||
@RequestMapping("/pluginVersions") | ||
public class PluginVersionController { |
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.
Do we need an endpoint for defining the "latest" versions for a service? I.E., in the case wherein the server group is unknown (because it has not been deployed yet) and we want to define the versions for that next server group.
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.
I don't think that would be an endpoint that falls in scope of this PR. We'll need ways to actuate the versions, but there's a lot more than just that endpoint involved in making the feature work - I'd rather tackle that when we get to the overall feature. WDYT?
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.
That works for me. 👍
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.
Looks legit.
I think we'll want to add a |
ad1f50c
to
d661548
Compare
Adds new metadata store for pinning plugin versions to a server group. This ensures a server group will continue to load the same plugins even through instance replacement on long-lived server groups. Metadata is regularly cleaned up, leaving the last N records for a particular cluster, by default leaving the last 10 (which is likely excessive).
d661548
to
c408fc5
Compare
Adds new metadata store for pinning plugin versions to a server group. This
ensures a server group will continue to load the same plugins even through
instance replacement on long-lived server groups.
Metadata is regularly cleaned up, leaving the last N records for a particular
cluster, by default leaving the last 10 (which is likely excessive).