MongoDB Question:
Download Questions PDF

Explain what happens if I try to update a document on a chunk that is being migrated?

Answer:

The update will go through immediately on the old shard, and then the change will be replicated to the new shard before ownership transfers.

Download MongoDB Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me when will data be on more than one shard?Explain what if a shard is down or slow and I do a query?