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(schema): make duplicate index error a warning for now to prevent blocking upgrading #15135

Merged
merged 2 commits into from
Dec 30, 2024

Conversation

vkarpov15
Copy link
Collaborator

Fix #15109
Re: #15112

Summary

The new duplicate index error has caused some headache for a lot of users, so in the interest of not blocking anyone from upgrading, I changed the error to a warning. That way there is an indication that duplicate indexes are a problem, and it should be only slightly more difficult to trace down the duplicate index because Node.js warnings can get stack traces with the --trace-warnings command line flag.

Examples

test/schema.test.js Show resolved Hide resolved
@vkarpov15 vkarpov15 merged commit c62b72e into master Dec 30, 2024
73 of 74 checks passed
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-15109-2 branch December 30, 2024 20:13
@vkarpov15 vkarpov15 added this to the 8.9.3 milestone Dec 30, 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.

index setting error occurred at 8.9.1("Schema already has an index")
3 participants