-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Disable mem-ballast-size-mib
from command line option
#3626
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
mem-ballast-size-mib
from command line optionsmem-ballast-size-mib
from command line option
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.
This is a breaking change:
- Needs to be added to CHANGELOG
- How are we going to signal the users? Is it possible to keep the flag for few versions, then log an warning and hardcode to create the extension for the user?
Can we keep
|
c0c0a6c
to
0804955
Compare
cc/ @bogdandrutu PTAL! |
Load test failed due to the dependency on #3625
|
CHANGELOG.md
Outdated
@@ -2,6 +2,11 @@ | |||
|
|||
## Unreleased | |||
|
|||
## 🛑 Breaking changes 🛑 | |||
|
|||
- Deprecate `mem-ballast-size-mib` option in command line (#3626) |
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.
Is not deprecated, is removed correct? Since the behavior is no longer there. Consider to explain what to do to fix this.
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.
Corrected the wordings. Thanks!
8bde8a3
to
c3b04d0
Compare
@Aneurysm9 @jrcamp can you please review this PR too? Thx. |
Isn't this the same as #3493? See #3493 (review) |
Hi @jrcamp, thanks for pointing it out, it is pretty much the same. I'm fine to merge either PR. I think the blocker is how we'll handle the breaking change and move fwd. I'll raise it in SIG meeting. |
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.
Duplicate of #3493
Since this a breaking change for our distro with many existing installations let's give some graceful deprecation period before we actually remove the feature. I suggest we return to this in 3 months.
For this PR: instead of removing the feature make it deprecated for now (give a warning, document that it is deprecated, announce in SIG and in Slack, etc).
@tigrannajaryan as we discussed here, this is not a breaking change. The downgrade in performance (if ballast is not correctly set) cannot be considered a breaking change. |
I think it will cause the Collector to fail at statup when the command line option is removed but someone tries to use it (as it is used in Splunk distro). If that is the case then I think it can be considered a breaking change, no? |
@tigrannajaryan I am not sure how flags are implemented, but indeed we should not FAIL, but it is fine to just print a warning and not have ballast setup if using the flag. That is what I understood from that comment. @mxiamxia can you test that? We may need to leave the flag and if set we log an warning and done :) |
@mxiamxia can you test the flag conditionality asap. Let's get this PR done. :-) |
aaa4b88
to
0f2dcad
Compare
Hi @bogdandrutu, yes, we keep the flag in the command line but does nothing so we don't have the breaking change. The change has been verified. :) cc/ @alolita |
0f2dcad
to
6d8570e
Compare
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 understand what's the rush with this change? It is still a performance degradation for existing users. What prevents us from keeping the existing behavior for a while?
@tigrannajaryan if you block this you will maintain it (because will be a backwards incompatible change) for the next 10 years, please sign with blood and will not push on this :) Jokes aside, because it is very bad how we designed the collector to have half things in YAML and the other half in flags. We have 0 consistency of when things are configure where. |
I agree, I don't mind removing it. I am just saying let's give some grace period for users before we delete it. We are only declaring traces stable so we have no obligation to keep this for 10 years after Trace GA. I may be missing something. |
6d8570e
to
7bffc3a
Compare
7bffc3a
to
6ca25c3
Compare
Hi @tigrannajaryan , since the current change won't break the existing collector instances, I think we should merge this changes before the trace GA release. In another way, |
@mxiamxia we discussed with Bogdan and he is going to update our distro to use the new ballast approach (extension). Once it is done we should be able to move forward. |
Sounds good! Thank you for the update. |
`mem-ballast-size-mib` was removed as per open-telemetry/opentelemetry-collector#3626
Description: <Describe what has changed.
mem-ballast-size-mib
command line option for setting memory ballastLink to tracking Issue:
#2516