Skip to content

[BUG][Remote Store] Repository base_path is ignored while uploading segments to remote segment store #4283

Closed
@sachinpkale

Description

@sachinpkale

Describe the bug
Once we create repository:

curl -X PUT "localhost:9200/_snapshot/cluster_uuid" -H 'Content-Type: application/json' -d'{"type": "s3","settings": {"bucket": "my-repo","base_path": "test-upload"}}'

And the index is created with remote_store.enabled = true, the segments are uploaded to my-repo/my-index-1/0/segments/data path.

The path should be test-upload/my-repo/my-index-1/0/segments/data path

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