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

MongoDB6: Failed to create index when it exists #154

Open
LiilyZhang opened this issue Sep 6, 2024 · 0 comments
Open

MongoDB6: Failed to create index when it exists #154

LiilyZhang opened this issue Sep 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working PR submitted

Comments

@LiilyZhang
Copy link
Contributor

CSS Failed to create syncObjects-destination-policy.services.service-id index in MongoDB if it already exists

CSS: 2024/09/06 14:09:42 ERROR: Failed to create an index on syncObjects. Error: (IndexKeySpecsConflict) An existing index has the same name as the requested index. When index names are not specified, they are auto generated and can cause conflicts. Please refer to our documentation. Requested index: { v: 2, unique: true, key: { metadata.destination-org-id: -1, metadata.destination-policy.services.org-id: -1, metadata.destination-policy.services.service-name: -1 }, name: "syncObjects-destination-policy.services.service-id" }, existing index: { v: 2, key: { metadata.destination-org-id: 1, metadata.destination-policy.services.org-id: 1, metadata.destination-policy.services.service-name: 1 }, name: "syncObjects-destination-policy.services.service-id", sparse: true }
@LiilyZhang LiilyZhang added the bug Something isn't working label Sep 6, 2024
@LiilyZhang LiilyZhang self-assigned this Sep 6, 2024
LiilyZhang added a commit to LiilyZhang/edge-sync-service that referenced this issue Sep 6, 2024
LiilyZhang added a commit that referenced this issue Sep 9, 2024
Issue #154 - Bug: Failed to create index when it exists
@LiilyZhang LiilyZhang changed the title Bug: Failed to create index when it exists MongoDB6: Failed to create index when it exists Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working PR submitted
Projects
None yet
Development

No branches or pull requests

1 participant