Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter out hidden indices when checking cluster health (7.x) #959

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

nagyo
Copy link
Member

@nagyo nagyo commented Jan 5, 2022

No description provided.

@nagyo nagyo merged commit da7bd2f into 7.x Jan 5, 2022
@nagyo nagyo deleted the issue/es_cluster_health_check_stalled_7x branch January 5, 2022 11:09
@apeteri apeteri added the port-to-8.x Pull requests that need a complementary PR targeting the 8.x stream label Apr 11, 2023
@apeteri
Copy link
Member

apeteri commented Apr 11, 2023

The corresponding PR on 8.x that includes a change compatible with the addition of lenientExpand done here is #1053:

// Equivalent to org.elasticsearch.action.support.IndicesOptions.lenientExpand() with ignore_throttled set to true
private static final IndicesOptions DEFAULT_INDICES_OPTIONS = new IndicesOptions(
EnumSet.of(
Option.ALLOW_NO_INDICES,
Option.IGNORE_UNAVAILABLE,
// this has to be set to avoid deprecation warnings in the log, see org.elasticsearch.client.RequestConverters.Params.withIndicesOptions(IndicesOptions)
Option.IGNORE_THROTTLED
),
EnumSet.of(WildcardStates.OPEN, WildcardStates.CLOSED)
);

@apeteri apeteri removed the port-to-8.x Pull requests that need a complementary PR targeting the 8.x stream label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants