For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click here >
Docs Menu

Recover Sharded Cluster if Replica Sets Lose Majority

If your deployment has lost a voting majority in any of your shards or config server's replica sets, you must restore from backups to maintain the consistency and integrity of your stored data.

Warning

The Kubernetes Operator doesn't support forced reconfiguration of a Sharded Cluster in the event of losing the voting majority. Performing forced reconfiguration might result in severe data loss and leave the sharded cluster in an inconsistent state.