-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[kbn-es] Add support to kbn-es and kbn-test for data archives #28723
Conversation
Pinging @elastic/kibana-operations |
This comment has been minimized.
This comment has been minimized.
8d9cd2c
to
a81da7f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
a81da7f
to
e3d57d1
Compare
💚 Build Succeeded |
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 tried making a data directory and using the --data-archive
, but when I started up Elasticsearch it didn't have any data.
This is the data directory that I used: data-dir.tar.gz
@spalger How was your zip structured? The one I have that works (
So the root directory is the name of the zip. We could change this to have the data directory as the root, and either way I'll add some documentation somewhere. Thoughts? |
💔 Build Failed |
retest |
💚 Build Succeeded |
Co-Authored-By: joshdover <me@joshdover.com>
6808600
to
e237646
Compare
Updated to accept data zips that only contain a |
💚 Build Succeeded |
💚 Build Succeeded |
…c#28723) * Add support to kbn-es and kbn-test for data archives * Fix log indent * Decompress directly to data directory Co-Authored-By: joshdover <me@joshdover.com> * Improve logs
#29221) * Add support to kbn-es and kbn-test for data archives * Fix log indent * Decompress directly to data directory Co-Authored-By: joshdover <me@joshdover.com> * Improve logs
Summary
This adds support to both kbn-es and kbn-test to unpack a zip or tarball of an Elasticsearch
data
directory to seed a cluster with specific data. This allows us to test opening ES state from a previous version of Elasticsearch and is required to support some of the testing needed for the Upgrade Assistant in #27457.