-
Notifications
You must be signed in to change notification settings - Fork 492
storage: fix dyncfg updates for future clusters #26194
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
7db9d54 to
20032ed
Compare
| .storage_configuration | ||
| .update(storage_parameters); | ||
|
|
||
| // Clear out the updates as we no longer forward them to anyone else to process. |
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.
@rjobanp maybe I should just not do this, it only saves one set of updates per-worker
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.
Oh actually we clone self.storage_state.storage_configuration a bunch during rendering...
20032ed to
e54db90
Compare
rjobanp
left a comment
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 to get in for this release. It would be great to add some tests around this that validate dyncfg update propagation across clusters and to new clusters, etc in a future PR
|
@rjobanp definitely, but we would need to think of a way to expose parameter values in an testable way...maybe through the internal http endpoint? |
Metrics! |
|
Oh @danhhz thats a good idea, a configset metric with a name label |
I was being wrong with this option:
Roshan found #26189, and #26131 made me realize that future clusters wont get the new updates.
Motivation
Checklist
$T ⇔ Proto$Tmapping (possibly in a backwards-incompatible way), then it is tagged with aT-protolabel.