opensearch-project/OpenSearch
[Remote Store] Remove redundant uploads while restoring data from snapshot
オープン
#11,044 opened on 2023/11/01
Storage:DurabilityStorage:Remotebuggood first issue
Repository metrics
- Stars
- (8,123 個のスター)
- PR merge metrics
- (平均マージ 5d 9h) (30d で 266 merged PRs)
説明
Describe the bug
If we restore a remote store backed index from an interop enabled repository, we are uploading all the data in remote. This is not needed when there is preexisting data in remote store. There can be preexisting data , when the index is closed and we try to restore it back in time from a snapshot.
Given that we have enabled upload during snapshot restore, there is no need to copy the segment files manually to remoteDirectory .