edge-sync-service
edge-sync-service copied to clipboard
Bug: Failed to create index when it exists
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 }