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

When request times out, not all indexes may be created #285

Open
paterczm opened this issue Apr 6, 2017 · 3 comments
Open

When request times out, not all indexes may be created #285

paterczm opened this issue Apr 6, 2017 · 3 comments

Comments

@paterczm
Copy link
Contributor

paterczm commented Apr 6, 2017

This issue may belong to lightblue-mongo. I decided to put it here since it has to do with http timeouts.

Recently, I was pushing 2 new indexes on a large collection, which resulted in the metadata update request to timeout. Each time I did the push only the first index was created. I had to repeat the metadata update request to create the other one.

@paterczm
Copy link
Contributor Author

paterczm commented Apr 6, 2017

It's easy to miss the fact that one of the indexes wasn't created, since metadata is updated with both indexes. The only indication that something may be amiss is lack of successful response from metadata svc (since it times out).

@bserdar
Copy link
Contributor

bserdar commented Apr 6, 2017 via email

@paterczm
Copy link
Contributor Author

paterczm commented Apr 6, 2017

Yes, for indexes with background: true that makes sense.

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

No branches or pull requests

2 participants