-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Address and remove all occurrences of the Java annotation @UpdateForV9 (ES-9378) #117992
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
Closed
Closed
Changes from 16 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
0359c4f
Address and remove all occurrences of the Java annotation @UpdateForV…
alexey-ivanov-es fea2615
Merge remote-tracking branch 'refs/remotes/upstream/main' into ES-9378
alexey-ivanov-es 9355aa5
More changes for V9
alexey-ivanov-es af4d6d6
Remove unused versions
alexey-ivanov-es 7ebfa1e
Fix compilation
alexey-ivanov-es dbfdffa
Fix compilation
alexey-ivanov-es 7e16865
Remove unused import
alexey-ivanov-es 75691c2
Checkstyle fixes
alexey-ivanov-es 4f20def
Remove annotation (ES-9734)
alexey-ivanov-es 73e715e
Merge branch 'main' into ES-9378
alexey-ivanov-es 58866bd
Remove unused ThreadPoolTypes
alexey-ivanov-es 2071242
Merge branch 'main' into ES-9378
alexey-ivanov-es 16e5f4a
Merge remote-tracking branch 'refs/remotes/origin/ES-9378' into ES-9378
alexey-ivanov-es 691ceb7
Revert changes about IndexVersions
alexey-ivanov-es 1562b27
More updates for V9
alexey-ivanov-es 6736d8c
Merge branch 'main' into ES-9378
alexey-ivanov-es cc9268c
Update TransportGetFeatureUpgradeStatusActionTests
alexey-ivanov-es 852f4be
Merge branch 'main' into ES-9378
alexey-ivanov-es d7420d4
Update NodeEnvironment.getBestDowngradeVersion
alexey-ivanov-es 00beba2
Merge branch 'main' into ES-9378
alexey-ivanov-es 2708b04
Update NodeEnvironmentTests.testIndexCompatibilityChecks
alexey-ivanov-es f458502
Spotless
alexey-ivanov-es a7b77d1
Restore check in RestCompatibleVersionHelper
alexey-ivanov-es 5fa378f
Merge branch 'main' into ES-9378
alexey-ivanov-es 2b63f8c
Remove unused system property
alexey-ivanov-es cfcd121
Merge branch 'main' into ES-9378
alexey-ivanov-es cdc716a
Address review comments
alexey-ivanov-es 662d81e
Revert "Remove unused versions"
alexey-ivanov-es 5ccd08e
Restore index versions
alexey-ivanov-es d4e3d31
Revert "Remove unused system property"
alexey-ivanov-es cd9b451
Merge branch 'main' into ES-9378
alexey-ivanov-es d25d217
Merge branch 'main' into ES-9378
alexey-ivanov-es 0910600
Merge branch 'main' into ES-9378
alexey-ivanov-es 5fe78c0
Merge branch 'main' into ES-9378
alexey-ivanov-es 85d45e7
Merge branch 'main' into ES-9378
alexey-ivanov-es File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,6 @@ | |
import org.elasticsearch.common.util.concurrent.ThreadContext; | ||
import org.elasticsearch.core.Nullable; | ||
import org.elasticsearch.core.TimeValue; | ||
import org.elasticsearch.core.UpdateForV9; | ||
import org.elasticsearch.node.Node; | ||
import org.elasticsearch.node.ReportingService; | ||
import org.elasticsearch.telemetry.metric.Instrument; | ||
|
@@ -120,13 +119,7 @@ public static class Names { | |
public static final String THREAD_POOL_METRIC_NAME_REJECTED = ".threads.rejected.total"; | ||
|
||
public enum ThreadPoolType { | ||
@Deprecated(forRemoval = true) | ||
@UpdateForV9(owner = UpdateForV9.Owner.CORE_INFRA) // no longer used, remove in v9 | ||
DIRECT("direct"), | ||
FIXED("fixed"), | ||
@Deprecated(forRemoval = true) | ||
@UpdateForV9(owner = UpdateForV9.Owner.CORE_INFRA) // no longer used, remove in v9 | ||
FIXED_AUTO_QUEUE_SIZE("fixed_auto_queue_size"), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PR for 8.x: #118492 |
||
SCALING("scaling"); | ||
|
||
private final String type; | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 it?