-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Bootstrap initial versions to simplify transport version migration #134084
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
Pinging @elastic/es-core-infra (Team:Core/Infra) |
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 with one nit about reverting the initial versions already converted
public static final TransportVersion INITIAL_ELASTICSEARCH_8_18_3 = def(8_840_0_05); | ||
public static final TransportVersion INITIAL_ELASTICSEARCH_8_18_4 = def(8_840_0_06); | ||
public static final TransportVersion INITIAL_ELASTICSEARCH_8_18_6 = def(8_840_0_08); | ||
public static final TransportVersion INITIAL_ELASTICSEARCH_8_18_5 = def(8_840_0_07); |
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 there a reason we need to add this back? I know the point is to get us back to density, but moving the upper bound forward to the 8 patch doesn't seem like it requires unconverting the initial version right before it?
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 can add these back in.
public static final TransportVersion INITIAL_ELASTICSEARCH_9_0_3 = def(9_000_0_12); | ||
public static final TransportVersion INITIAL_ELASTICSEARCH_9_0_4 = def(9_000_0_13); | ||
public static final TransportVersion INITIAL_ELASTICSEARCH_9_0_6 = def(9_000_0_15); | ||
public static final TransportVersion INITIAL_ELASTICSEARCH_9_0_5 = def(9_000_0_14); |
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.
ditto, seems like we could keep the converted
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.
Same.
public static final TransportVersion ESQL_SAMPLE_OPERATOR_STATUS_9_1 = def(9_112_0_03); | ||
public static final TransportVersion INITIAL_ELASTICSEARCH_9_1_1 = def(9_112_0_04); | ||
public static final TransportVersion INITIAL_ELASTICSEARCH_9_1_2 = def(9_112_0_05); | ||
public static final TransportVersion INITIAL_ELASTICSEARCH_9_1_3 = def(9_112_0_06); |
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.
ditto
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.
For this one I wanted to leave the latest patch version in the TransportVersions
file for now until we cutover.
Looks like the serverless retry passed, but didn't update github. |
…lastic#134084) This reverts our other bootstrapping of file-based transport versions to make migration simpler moving forward and adds the initial version one prior to the last initial version for each of 9.1, 9.0, 8.19, and 8.18.
…lastic#134084) This reverts our other bootstrapping of file-based transport versions to make migration simpler moving forward and adds the initial version one prior to the last initial version for each of 9.1, 9.0, 8.19, and 8.18.
…lastic#134084) This reverts our other bootstrapping of file-based transport versions to make migration simpler moving forward and adds the initial version one prior to the last initial version for each of 9.1, 9.0, 8.19, and 8.18.
…lastic#134084) This reverts our other bootstrapping of file-based transport versions to make migration simpler moving forward and adds the initial version one prior to the last initial version for each of 9.1, 9.0, 8.19, and 8.18.
…lastic#134084) This reverts our other bootstrapping of file-based transport versions to make migration simpler moving forward and adds the initial version one prior to the last initial version for each of 9.1, 9.0, 8.19, and 8.18.
…lastic#134084) This reverts our other bootstrapping of file-based transport versions to make migration simpler moving forward and adds the initial version one prior to the last initial version for each of 9.1, 9.0, 8.19, and 8.18.
BASE=fabf32c3f1dd08a0e51d6b86412bbea7dee50bc7 HEAD=070e2fb1141ec82a6f9b0bf2a52860faa4d203a1 Branch=main
BASE=fabf32c3f1dd08a0e51d6b86412bbea7dee50bc7 HEAD=070e2fb1141ec82a6f9b0bf2a52860faa4d203a1 Branch=main
…lastic#134084) (elastic#134148) Backports the following commits to 8.19: - Bootstrap initial versions to simplify transport version migration (elastic#134084)
BASE=fabf32c3f1dd08a0e51d6b86412bbea7dee50bc7 HEAD=070e2fb1141ec82a6f9b0bf2a52860faa4d203a1 Branch=main
BASE=fabf32c3f1dd08a0e51d6b86412bbea7dee50bc7 HEAD=070e2fb1141ec82a6f9b0bf2a52860faa4d203a1 Branch=main
BASE=fabf32c3f1dd08a0e51d6b86412bbea7dee50bc7 HEAD=070e2fb1141ec82a6f9b0bf2a52860faa4d203a1 Branch=main
…lastic#134084) (elastic#134148) Backports the following commits to 8.19: - Bootstrap initial versions to simplify transport version migration (elastic#134084)
BASE=fabf32c3f1dd08a0e51d6b86412bbea7dee50bc7 HEAD=070e2fb1141ec82a6f9b0bf2a52860faa4d203a1 Branch=main
BASE=fabf32c3f1dd08a0e51d6b86412bbea7dee50bc7 HEAD=070e2fb1141ec82a6f9b0bf2a52860faa4d203a1 Branch=main
This reverts our other bootstrapping of file-based transport versions to make migration simpler moving forward and adds the initial version one prior to the last initial version for each of 9.1, 9.0, 8.19, and 8.18.
ES-12334