-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[Remote Store] BlobStore used in Remote Store doesn't use updated settings and repo metadata #9118
Description
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 :
-
When we update repository, Repositories Service closes existing
BlobRepository,BlobStoreand opens a new one . HoweverRemoteStorecontinues to use existingBlobStorewhich has no clue on new metadata . -
We never
reloadthe 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.