-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Elasticsearch configuration from recipe occasionally throws System.ObjectDisposedException during site setup #16511
Comments
Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't completed the template yet, please take a moment to do so. This ensures that we fully understand your feature request or bug report. On what happens next, see the docs. If you like Orchard Core, please star our repo and join our community channels. |
Do you have a workaround, perhaps? |
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues). This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here. |
As far as I have seen, this issue can be avoided by ensuring in the recipe that the content item creation steps run after the Elasticsearch config ones. |
You've only seen this in a setup recipe, not otherwise, right? |
Yes. |
Exactly the same error can no longer occur in main, because the |
Describe the bug
When the Elasticsearch feature is enabled and its configuration is run in a setup recipe, sometimes the logs contain the following exception after site setup:
This seems to happen only when the
elastic-index-rebuild
step is run after content items have been created, and it doesn't happen every single time either. Depending on the environment, it can happen frequently or pretty much none at all, so it's hard to pinpoint what the exact cause of the problem may be. The fact that this kept happening on VMs suggests it could be a performance-related issue.Orchard Core version
1.8.3
To Reproduce
Steps to (maybe) reproduce the behavior:
ElasticIndexSettings
,Settings
that containElasticSettings
,elastic-index-rebuild
, andQueries
) to a setup recipe.Expected behavior
There should be either no such exception or a consistent appearance of the exception.
The text was updated successfully, but these errors were encountered: