opensearch-project/OpenSearch

User sees error response on update of setSearchIdleAfter index setting for segrep and remote store indexes

Open

#10,787 opened on Oct 20, 2023

View on GitHub
 (3 comments) (0 reactions) (1 assignee)Java (1,505 forks)batch import
Storage:Durabilitydocumentation pendingenhancementgood first issue

Repository metrics

Stars
 (8,123 stars)
PR merge metrics
 (Avg merge 5d 9h) (266 merged PRs in 30d)

Description

Is your feature request related to a problem? Please describe. SearchIdle feature only works for single replica for segrep indexes. For remote store, search idle feature is not supported. This is being removed in https://github.com/opensearch-project/OpenSearch/pull/10761. As part of this https://github.com/opensearch-project/OpenSearch/pull/10761/files#r1366872771, we should ensure that we fail these update index settings. We need to handle below cases -

  • If user passes searchIdle setting with value during index creation, it fails too.
  • When the update index setting happens with multiple other settings, does it fail the update entirely or the setting update happens partially.
  • Need to handle both segrep and remote store.

Contributor guide