-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Remove deprecated es.max-num-spans #2482
Remove deprecated es.max-num-spans #2482
Conversation
Thanks for quickly jumping on this, @BernardTolosajr. We're currently on 1.19.2 and we're targeting this for release 1.21.0 to give folks a chance to migrate over to I've also restarted Crossdock and Unit Test jobs which appear to be caused by flaky tests. @BernardTolosajr, I think you'll need to remove the code block here as well: https://github.com/jaegertracing/jaeger/blob/master/plugin/storage/es/options.go#L295 Basically, |
Codecov Report
@@ Coverage Diff @@
## master #2482 +/- ##
==========================================
- Coverage 95.88% 95.84% -0.04%
==========================================
Files 217 217
Lines 9647 9638 -9
==========================================
- Hits 9250 9238 -12
- Misses 328 330 +2
- Partials 69 70 +1
Continue to review full report at Codecov.
|
Noted on this one. |
3c81b2f
to
0932061
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.
lgtm
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 am blocking this for now to prevent being merged accidentally before v1.21
@BernardTolosajr it's a good time to merge this PR now that we've made a couple of releases. Can you please look at resolving the merge conflict? Let me know if you need help with this. Thanks. |
fwiw, there are LOTS of other deprecated flags (#2738). But we should not clean them in a single PR since they usually require code changes, better to do one PR per flag.
|
0932061
to
c7999bc
Compare
Pull request has been modified.
@albertteoh pushed fixed for the merge conflict. Let me know if i miss something. Thanks |
@albertteoh should i also remove test for MaxNumSpansUsage? Thanks |
Yes, please @BernardTolosajr. |
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.
please add an entry to changelog as a "breaking change"
7959a5d
to
7b7f29d
Compare
Signed-off-by: Bernard Tolosa <[email protected]>
Signed-off-by: Bernardo Tolosa <[email protected]>
fd09be5
to
900c550
Compare
CHANGELOG.md
Outdated
|
||
#### New Features | ||
### New Features |
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 original level 4 is correct
CHANGELOG.md
Outdated
@@ -7,8 +7,9 @@ Changes by Version | |||
### Backend Changes | |||
|
|||
#### Breaking changes | |||
* Remove deprecated flags `es.max-num-spans` ([#2482](https://github.com/jaegertracing/jaeger/pull/2482),[@BernardTolosajr](https://github.com/BernardTolosajr)) |
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.
* Remove deprecated flags `es.max-num-spans` ([#2482](https://github.com/jaegertracing/jaeger/pull/2482),[@BernardTolosajr](https://github.com/BernardTolosajr)) | |
* Remove deprecated flag `--es.max-num-spans`, please use `--es.max-doc-count` ([#2482](https://github.com/jaegertracing/jaeger/pull/2482),[@BernardTolosajr](https://github.com/BernardTolosajr)) |
900c550
to
148ec86
Compare
Pull request has been modified.
Signed-off-by: Bernardo Tolosa <[email protected]>
148ec86
to
59e3e6a
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.
@BernardTolosajr Thank you!
Which problem is this PR solving?
--es.max-num-spans
flag in v1.21.0 - resolves Remove deprecated--es.max-num-spans
flag in v1.21.0 #2457Short description of the changes
--es.max-num-spans