-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[#192624] Fix archive for incompatible_cluster_routing_allocation
#193741
[#192624] Fix archive for incompatible_cluster_routing_allocation
#193741
Conversation
Pinging @elastic/kibana-core (Team:Core) |
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 believe your strategy for updating the ZIP file is additive, aka doesn't remove existing data.
I tried using this instead:
ditto -c -k --sequesterRsrc --keepParent .es/8.16.0/data src/core/server/integration_tests/saved_objects/migrations/archives/7.13.0_concurrent_5k_foo.zip
Which got me from:
gsoldevila@MacBook archives % ls -lh
-rw-r--r-- 1 gsoldevila staff 260K Sep 23 18:11 7.13.0_concurrent_5k_foo.zip
To an archive less than half the size:
gsoldevila@MacBook archives % ls -lh
-rw-r--r-- 1 gsoldevila staff 121K Sep 23 18:12 7.13.0_concurrent_5k_foo.zip
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.
NIT could we re-package the file?
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
To update your PR or re-run it, just comment with: cc @afharo |
…tion` (elastic#193741) (cherry picked from commit df2ccb6)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…location` (#193741) (#193763) # Backport This will backport the following commits from `main` to `8.x`: - [[#192624] Fix archive for `incompatible_cluster_routing_allocation` (#193741)](#193741) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alejandro Fernández Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2024-09-23T17:33:47Z","message":"[#192624] Fix archive for `incompatible_cluster_routing_allocation` (#193741)","sha":"df2ccb6789537a5a7474cc8a1601696188551352","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Core","release_note:skip","v9.0.0","backport:prev-minor"],"title":"[#192624] Fix archive for `incompatible_cluster_routing_allocation`","number":193741,"url":"https://github.com/elastic/kibana/pull/193741","mergeCommit":{"message":"[#192624] Fix archive for `incompatible_cluster_routing_allocation` (#193741)","sha":"df2ccb6789537a5a7474cc8a1601696188551352"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193741","number":193741,"mergeCommit":{"message":"[#192624] Fix archive for `incompatible_cluster_routing_allocation` (#193741)","sha":"df2ccb6789537a5a7474cc8a1601696188551352"}}]}] BACKPORT--> Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
…ting_allocation` (elastic#193741) (elastic#193763) # Backport This will backport the following commits from `main` to `8.x`: - [[elastic#192624] Fix archive for `incompatible_cluster_routing_allocation` (elastic#193741)](elastic#193741) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alejandro Fernández Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2024-09-23T17:33:47Z","message":"[elastic#192624] Fix archive for `incompatible_cluster_routing_allocation` (elastic#193741)","sha":"df2ccb6789537a5a7474cc8a1601696188551352","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Core","release_note:skip","v9.0.0","backport:prev-minor"],"title":"[elastic#192624] Fix archive for `incompatible_cluster_routing_allocation`","number":193741,"url":"https://github.com/elastic/kibana/pull/193741","mergeCommit":{"message":"[#192624] Fix archive for `incompatible_cluster_routing_allocation` (elastic#193741)","sha":"df2ccb6789537a5a7474cc8a1601696188551352"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193741","number":193741,"mergeCommit":{"message":"[#192624] Fix archive for `incompatible_cluster_routing_allocation` (elastic#193741)","sha":"df2ccb6789537a5a7474cc8a1601696188551352"}}]}] BACKPORT--> Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
Summary
Related #192624.
ES complained because the archive was created with
8.0.0
, but ES 9.0.0 requires the datastore to be upgraded to 8.16.0. The following steps have been followed:Checklist
For maintainers