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

fix: More resilient MongoDB init #554

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Conversation

lemaitre-aneo
Copy link
Contributor

@lemaitre-aneo lemaitre-aneo commented Dec 13, 2023

When there was a mismatch in Index options, MongoDB adaptor would refuse to init, and stop the pod. This behavior is a bit extreme and now, it just logs a warning in case of index mismatch.
The level of some logs has been decreased in order to have a cleaner startup. In case of error, the init exception is now forwarded and will be visible in the Fatal log:
image

@aneojgurhem aneojgurhem merged commit eccdf63 into main Dec 13, 2023
75 checks passed
@aneojgurhem aneojgurhem deleted the fl/resilient-mongo-init branch December 13, 2023 18:03
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