-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Update TransportVersion to support a new model
#131488
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
Merged
Merged
Changes from 27 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
340136c
add primary patch version to transport version
jdconrad 46cf098
add loading for new transport version model
jdconrad a4ec0d6
update transport versions holder
jdconrad dc9cfe9
fix bugs
jdconrad a20dfd7
Merge branch 'main' into transport0
jdconrad b772a3a
update name
jdconrad 3182209
Merge branch 'main' into transport0
jdconrad 8aa55ca
fix equals/hashcode/toString
jdconrad f13e723
spotless
jdconrad ead340b
Merge branch 'main' into transport0
jdconrad be9d70b
migrate version with multiple patches
jdconrad 01511ff
spotless
jdconrad cba38b1
fix names
jdconrad f9bebe8
Merge branch 'main' into transport0
jdconrad b02cb1a
name fixes
jdconrad a19caac
Merge branch 'main' into transport0
jdconrad c56ec3a
move examples to tests
jdconrad 75fbbe4
fix new instances
jdconrad c42bfc2
add versions to test files
jdconrad 1b272b6
Merge branch 'main' into transport0
jdconrad da5491c
update tests
jdconrad c80f8fb
Merge branch 'main' into transport0
jdconrad 19b1923
add java docs
jdconrad ac02157
move latest
jdconrad 71d2cc4
Merge branch 'main' into transport0
jdconrad 6f4dd0d
move latest
jdconrad 38d5710
more pr responses
jdconrad eb0a94f
fix ij refactoring
jdconrad 518ed4b
more fixed files
jdconrad 14e2539
add latest placeholder files for backport versions
jdconrad ec39480
Merge branch 'main' into transport0
jdconrad 18d2206
switch to loading versions with txt files instead of json
jdconrad aa7a4bc
revert lazy change
jdconrad 5da94f9
Merge branch 'main' into transport0
jdconrad e097c7a
Merge branch 'main' into transport0
jdconrad 8c8ecfc
update to use csv files and remove names from files when possible
jdconrad 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
269 changes: 256 additions & 13 deletions
269
server/src/main/java/org/elasticsearch/TransportVersion.java
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "name": "placeholder", | ||
| "ids": [ | ||
| 9130000 | ||
| ] | ||
| } |
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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| test-0.json | ||
| test-1.json | ||
| test-2.json | ||
| test-3.json | ||
| test-4.json |
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "name": "test-0", | ||
| "ids": [ | ||
| 100001000, | ||
| 3001000 | ||
| ] | ||
| } |
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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "name": "test-1", | ||
| "ids": [ | ||
| 3002000 | ||
| ] | ||
| } |
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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "name": "test-2", | ||
| "ids": [ | ||
| 3003000, | ||
| 2001001, | ||
| 1001001 | ||
| ] | ||
| } |
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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "name": "test-3", | ||
| "ids": [ | ||
| 100002000, | ||
| 3003001, | ||
| 2001002 | ||
| ] | ||
| } |
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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "name": "test-4", | ||
| "ids": [ | ||
| 100002000, | ||
| 3003002, | ||
| 2001003, | ||
| 1001002 | ||
| ] | ||
| } |
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
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.
Uh oh!
There was an error while loading. Please reload this page.