Skip to content

[RFC] Search only shards in the scale down state do not pull data from the remote store #21069

@guojialiang92

Description

@guojialiang92

Is your feature request related to a problem? Please describe

Under the current read-write separation architecture, search only shards use the AsyncReplicationTask to sync segment data from remote storage. Even after a scale down operation has been performed, search only shards will still periodically pull metadata from remote storage.

Describe the solution you'd like

To avoid redundant operations of pulling metadata from the remote store, we can decide whether to perform the pull action based on INDEX_BLOCKS_SEARCH_ONLY_SETTING.

Related component

Indexing:Replication

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Indexing:ReplicationIssues and PRs related to core replication framework eg segrepenhancementEnhancement or improvement to existing feature or requestuntriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions