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

Duplicated indixes bug #37

Open
GustavoDinizMonteiro opened this issue Dec 17, 2017 · 0 comments
Open

Duplicated indixes bug #37

GustavoDinizMonteiro opened this issue Dec 17, 2017 · 0 comments
Labels

Comments

@GustavoDinizMonteiro
Copy link
Member

On start application, that try recreate indeces on database but raise Exception.

Unhandled rejection MongoError: Index with name: email_1 already exists with different options at Function.MongoError.create (error.js:31) at (/app/node_modules/mongodb-core/lib/connection/pool.js:497) at authenticateStragglers (/app/node_modules/mongodb-core/lib/connection/pool.js:443) at Connection.messageHandler (/app/node_modules/mongodb-core/lib/connection/pool.js:477) at Socket.<anonymous> (/app/node_modules/mongodb-core/lib/connection/connection.js:331) at emitOne (events.js:116) at Socket.emit (events.js:211) at addChunk (_stream_readable.js:263) at readableAddChunk (_stream_readable.js:250) at Socket.Readable.push (_stream_readable.js:208) at TCP.onread (net.js:594)

This error probably caused by a bug on update indexes on mlab mongodb instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant