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

[WIP] Fix filter deletion error in ES #580

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

antoinebhs
Copy link
Contributor

@antoinebhs antoinebhs commented Dec 19, 2024

It seems to lead to issues if you have modifications that affect a lot of identifiables (voltage init + generation dispatch + ...).
If there are more than 10000 modified identifiables, you can't retrieve the results. You'll get an error about the max result window (https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html, see index.max_result_window)
I revert it for now. Later, we may need to batch the find instead... Or find a better solution.

    "reason" : "Result window is too large, from + size must be less than or equal to: [10000] but was [12973]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting."

Signed-off-by: BOUHOURS Antoine <antoine.bouhours@rte-france.com>
@antoinebhs antoinebhs changed the title Revert fix all shards have failed on filter deletion [WIP] Fix filter deletion error in ES Dec 19, 2024
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.

1 participant