DEV Community

kalyan
kalyan

Posted on

How to make sure the was no downtime(1 min) when MongoDB service switching primary shard to secondary shard.

Hi there,

I am part of the DevOps team our application was serverless architecture. our database is hosted with MongoDB.when MongoDB schedule maintenance on the primary shard. the primary shard will go down for 1 min till the secondary shard comes online. How can we avoid this 1 min downtime?

Top comments (0)