Skip to content

[Remote Store] BlobStore used in Remote Store doesn't use updated settings and repo metadata  #9118

@gbbafna

Description

@gbbafna

Describe the bug

For RemoteStore, once we create BlobStore , we don't close it ever and reuse it for nodes' lifetime. That means the plugin level settings and repo metadata update doesn't get applied to it .

There are two issues which we need to fix here :

  1. When we update repository, Repositories Service closes existing BlobRepository , BlobStore and opens a new one . However RemoteStore continues to use existing BlobStore which has no clue on new metadata .

  2. We never reload the BlobStoreRepository in place. This means that cluster settings update also doesn't get applied on repo.

We need to a way to update the Remote Repositories in place, so that updated settings and repo metadata is reflected .

Expected behavior
A clear and concise description of what you expected to happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    StorageIssues and PRs relating to data and metadata storageStorage:DurabilityIssues and PRs related to the durability frameworkbugSomething isn't workingv2.11.0Issues and PRs related to version 2.11.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions