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(model): make diffIndexes() avoid trying to drop default timeseries collection index #15035

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

vkarpov15
Copy link
Collaborator

Fix #14984

Summary

Starting in MongoDB 6.3, MongoDB server creates a default index on timeseries collections, see docs here. We shouldn't try to drop that index if the schema has timeseries option.

Examples

@vkarpov15 vkarpov15 added this to the 8.8.2 milestone Nov 12, 2024
@vkarpov15 vkarpov15 merged commit 8799da2 into master Nov 13, 2024
66 checks passed
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-14984 branch November 13, 2024 16:47
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.

syncIndexes (diffIndexes) and time series mongo system index
2 participants