Doubt In a specific Downtime

MongoS merge the data, when the query involve all the shared clusters, ok, thats fine.
My question is: in in that time comes the query, MongoS is waiting for all responses, but in that time 1 group o shared clusters go down. what happens ?

Hi @p3dr0,

A shard should always preferably be a replica set and not a standalone server to ensure availability of data in such situations. However, your application must be able to deal with partial results even if all members the replica set shard go down.

For detailed explanation on this one, please go through the below given links and let me know if you have any further queries.

https://docs.mongodb.com/manual/tutorial/troubleshoot-sharded-clusters/

Thanks,
Muskan
Curriculum Support Engineer

1 Like