opensearch-project/OpenSearch
Vedi su GitHub[Remote Store] Remove redundant uploads while restoring data from snapshot
Open
#11.044 aperta il 1 nov 2023
Storage:DurabilityStorage:Remotebuggood first issue
Metriche repository
- Star
- (8123 star)
- Metriche merge PR
- (Merge medio 5g 9h) (266 PR mergiate in 30 g)
Descrizione
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 .