-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Remote Store] BlobStore used in Remote Store doesn't use updated settings and repo metadata #9118
Comments
@gbbafna I was looking at the S3 implementation. In my understanding, the following values shouldn't be reloadable because that could possibly break things in the remote store flows: OpenSearch/plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3Repository.java Lines 260 to 313 in 2a5b124
Is there a known use case where we want these too to be reloadable? Thanks! |
Hi @BhumikaSaini-Amazon , Currently these are also reloadable. However we are restricting changing these for system repositories : #9839 . For snapshot changing the path does work - it just works like snapshot repository is cleaned up and you start from scratch . |
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
,BlobStore
and opens a new one . HoweverRemoteStore
continues to use existingBlobStore
which has no clue on new metadata .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.
The text was updated successfully, but these errors were encountered: