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

bug: update-handler queue restore crashes mu-search on restart #92

Closed
nvdk opened this issue Nov 12, 2024 · 0 comments · Fixed by #93
Closed

bug: update-handler queue restore crashes mu-search on restart #92

nvdk opened this issue Nov 12, 2024 · 0 comments · Fixed by #93

Comments

@nvdk
Copy link
Member

nvdk commented Nov 12, 2024

Error in question:

search_1                                             | INFO [#1] INDEX MGMT -- Completed initialization of 10 eager indexes
search_1                                             | LoadError: load error: /usr/src/app/ext/web -- org.snakeyaml.engine.v2.exceptions.YamlEngineException: The incoming YAML document exceeds the limit: 3145728 code points.

Some research indicates this issue is because of some changes made to psych in jruby 9.3. See logstash-plugins/logstash-filter-translate#96 (comment) for some background.

At the very least mu-search should offer some advice on how to resolve, ideally we fix the issue or find some workaround.

nvdk added a commit that referenced this issue Nov 12, 2024
fixes #92. This bug was introduced in beta.5 as we snakeyaml was upgraded in
jruby to [1.32](https://bitbucket.org/snakeyaml/snakeyaml/wiki/Changes).
This release introduced a safe file size limit of 3MB. We currently overwrite this default and set up a default of 20MB, which we may want to make configurable later on.
@nvdk nvdk closed this as completed in #93 Nov 12, 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 a pull request may close this issue.

1 participant