Skip to content

validate base_path for s3 repository #93265

@MarcinGinszt

Description

@MarcinGinszt

Description

Documentation states, that base_path for s3_repository should not start or end with /.
However, this is not obvious and not validated anyhow. We had a repository with base_path starting from /, that had status verified and it contained completed snapshots- however, the snapshots were actually not synchronized with S3. I find that dangerously misleading.
In addition to that, I wonder if the documentation is actually right on this topic- for us (Elasticsearch v7.9.3) repository doesn't work for base path without trailing /.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions