Skip to content

Add a system property to ignore awareness attributes#46375

Merged
jimczi merged 3 commits intoelastic:7.xfrom
jimczi:ignore_awareness_attributes
Sep 6, 2019
Merged

Add a system property to ignore awareness attributes#46375
jimczi merged 3 commits intoelastic:7.xfrom
jimczi:ignore_awareness_attributes

Conversation

@jimczi
Copy link
Copy Markdown
Contributor

@jimczi jimczi commented Sep 5, 2019

This is a follow up of #45735 for 7.x.
This change adds a system property called "es.routing.search_ignore_awareness_attributes" that when set to true will effectively ignore allocation awareness attributes when routing search and get requests. This is now the default in 8.x so this commit adds a way to opt-in to this new behavior in a minor version of 7.x.

Relates #45735

This is a follow up of elastic#19191 for 7.x.
This change adds a system property called "es.routing.search_ignore_awareness_attributes" that when set to true will
effectively ignore allocation awareness attributes when routing search and get requests. This is now the default in 8.x so this
commit adds a way to opt-in to this new behavior in a minor version of 7.x.

Relates elastic#45735
@jimczi jimczi added >non-issue :Search/Search Search-related issues that do not fall into other categories v7.5.0 labels Sep 5, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search

jimczi and others added 2 commits September 5, 2019 14:48
apply review comment

Co-Authored-By: Adrien Grand <jpountz@gmail.com>
@jimczi jimczi merged commit f2a6c88 into elastic:7.x Sep 6, 2019
@jimczi jimczi deleted the ignore_awareness_attributes branch September 6, 2019 07:29
snutu pushed a commit to snutu/elasticsearch that referenced this pull request Jul 1, 2021
This is a follow up of elastic#19191 for 7.x.
This change adds a system property called "es.routing.search_ignore_awareness_attributes" that when set to true will
effectively ignore allocation awareness attributes when routing search and get requests. This is now the default in 8.x so this
commit adds a way to opt-in to this new behavior in a minor version of 7.x.

Relates elastic#45735
# Conflicts:
#	docs/reference/modules/cluster/allocation_awareness.asciidoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search/Search Search-related issues that do not fall into other categories v7.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants