MongoDB Question:
Download Questions PDF

Explain what if a shard is down or slow and I do a query?

Answer:

If a shard is down, the query will return an error unless the "Partial" query options is set. If a shard is responding slowly, mongos will wait for it.

Download MongoDB Interview Questions And Answers PDF

Previous QuestionNext Question
Explain what happens if I try to update a document on a chunk that is being migrated?Tell me can I remove old files in the moveChunk directory?