[Searchable Snapshot] [Design Proposal] Remote Searchable Snapshots #3895
Labels
discuss
Issues intended to help drive brainstorming and decision making
enhancement
Enhancement or improvement to existing feature or request
feature
New feature or request
This document outlines a proposal for implementing remote searchable snapshots. Please feel free to leave comments below with any thoughts or suggestions!
Goal
Users should be able to search indexes within snapshots in remote repositories without downloading all index data to disk ahead of time. The goal represents phase 2 under the storage roadmap proposal (#3739).
Requirements
Approach
An OpenSearch snapshot backed up within a Repository consists of the index metadata, shard metadata, corresponding state and segment files for the backed up index. The searchable snapshot feature will add the capability to restore a snapshot to an index without downloading and instead access the remote data on-demand at query time. The high level approach is outlined below, with links to the corresponding issues with more details.
API
Summarized from here:
A new parameter will be introduced in the snapshot restore API:
storage_type
.local
orremote_snapshot
.local
is the default if not specified, and indicates that all snapshot metadata and index data will be downloaded to local instance storage.remote_snapshot
indicates that snapshot metadata will be downloaded to the cluster but the remote repository will remain the authoritative store of the index data. Data will be downloaded and cached as necessary to service queries. At least one node in the cluster must be configured for thesearch
role in order to restore a snapshot of typeremote_snapshot
.For example:
The text was updated successfully, but these errors were encountered: