Skip to content

fix(schema): make duplicate index error a warning for now to prevent blocking upgrading#15135

Merged
vkarpov15 merged 2 commits intomasterfrom
vkarpov15/gh-15109-2
Dec 30, 2024
Merged

fix(schema): make duplicate index error a warning for now to prevent blocking upgrading#15135
vkarpov15 merged 2 commits intomasterfrom
vkarpov15/gh-15109-2

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

@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