MongoDB Question: Download MongoDB PDF

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

Tweet Share WhatsApp

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 PDF Read All 39 MongoDB Questions
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?