Update transport version directory structure#132891
Conversation
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
|
@elasticmachine run "elasticsearch-ci/8.18.6 / Part 3 / bwc-snapshots" |
rjernst
left a comment
There was a problem hiding this comment.
Looks good, a couple small nits
| String component, | ||
| String path, | ||
| boolean nameInFile, | ||
| boolean ignoreName, |
There was a problem hiding this comment.
nit: maybe flip this to positive logic, like "recordName" or "captureName"?
There was a problem hiding this comment.
changed to isNamed
| + name | ||
| + "];" | ||
| + "\nknown names [" | ||
| + VersionsHolder.ALL_VERSIONS_BY_NAME |
There was a problem hiding this comment.
do we want this permanently or was it only for debugging?
There was a problem hiding this comment.
I thought about keeping this at least until we are further along, but decided to remove it unless we need it again.
| if (nameInFile) { | ||
| name = parts[0]; | ||
| } else { | ||
| name = path.substring(path.lastIndexOf('/') + 1, path.length() - 4); |
There was a problem hiding this comment.
Optional: I'm not a fan of "magic numbers" (4) here or elsewhere, I'd rather this reference a constant if only purely to improve readability and maintainability. Not blocking - your call.
|
@elasticsearchmachine run elasticsearch-ci/part-1 |
|
@elasticmachine run elasticsearch-ci/part-3 |
💔 Backport failed
You can use sqren/backport to manually backport by running |
This changes the directory structure for transport version files to the following: /transport/latest /transport/definitions/named /transport/definitions/initial /transport/definitions/manifest.txt This allows manifest to be placed in a location for named and initial transport versions without adding confusion to latest. ES-12401
This changes the directory structure for transport version files to the following: /transport/latest /transport/definitions/named /transport/definitions/initial /transport/definitions/manifest.txt This allows manifest to be placed in a location for named and initial transport versions without adding confusion to latest. ES-12401
This changes the directory structure for transport version files to the following: /transport/latest /transport/definitions/named /transport/definitions/initial /transport/definitions/manifest.txt This allows manifest to be placed in a location for named and initial transport versions without adding confusion to latest. ES-12401
This changes the directory structure for transport version files to the following: /transport/latest /transport/definitions/named /transport/definitions/initial /transport/definitions/manifest.txt This allows manifest to be placed in a location for named and initial transport versions without adding confusion to latest. ES-12401
This changes the directory structure for transport version files to the following: /transport/latest /transport/definitions/named /transport/definitions/initial /transport/definitions/manifest.txt This allows manifest to be placed in a location for named and initial transport versions without adding confusion to latest. ES-12401
This changes the directory structure for transport version files to the following: /transport/latest /transport/definitions/named /transport/definitions/initial /transport/definitions/manifest.txt This allows manifest to be placed in a location for named and initial transport versions without adding confusion to latest. ES-12401
* Update transport version directory structure (#132891) This changes the directory structure for transport version files to the following: /transport/latest /transport/definitions/named /transport/definitions/initial /transport/definitions/manifest.txt This allows manifest to be placed in a location for named and initial transport versions without adding confusion to latest. ES-12401 * fix gitignore * remove extraneous newline * remove extraneous initial file * revert initial change * migrate ml_rollover_legacy_indices transport version (#133008)
This changes the directory structure for transport version files to the following: /transport/latest /transport/definitions/named /transport/definitions/initial /transport/definitions/manifest.txt This allows manifest to be placed in a location for named and initial transport versions without adding confusion to latest. ES-12401
This changes the directory structure for transport version files to the following: /transport/latest /transport/definitions/named /transport/definitions/initial /transport/definitions/manifest.txt This allows manifest to be placed in a location for named and initial transport versions without adding confusion to latest. ES-12401
This changes the directory structure for transport version files to the following:
This allows manifest to be placed in a location for named and initial transport versions without adding confusion to latest.
ES-12401