opensearch-project/OpenSearch

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

Open

#10.787 geöffnet am 20. Okt. 2023

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Java (1.505 Forks)batch import
Storage:Durabilitydocumentation pendingenhancementgood first issue

Repository-Metriken

Stars
 (8.123 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5T 9h) (266 gemergte PRs in 30 T)

Beschreibung

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