-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
Description
Describe the bug
After migrating our Opensearch container from 2.6.0 to 3.2.0 we discovered that Opensearch creates data backups outside of the configured base_path. It seems that only metadata actually gets uploaded properly in the base_path.
Related component
Storage:Snapshots
To Reproduce
- Create an S3 bucket
- Configure S3 repository:
curl -sku ${OPENSEARCH_USERNAME}:${OPENSEARCH_PASSWORD} -X PUT "https://localhost:9200/_snapshot/opensearch_snapshots?pretty" -H 'Content-Type: application/json' -d'
{
"type": "s3",
"settings": {
"bucket": "<bucket>",
"region": "<region>",
"base_path": "opensearch_snapshots"
}
}
'
- Verify that the
base_pathonly contains metadata. - Verify that the root of the S3 bucket gets filled with separate directories that contain the actual data of the indices.
Expected behavior
Both data and metadata should be uploaded to the base_path.
Additional Details
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
π New