Welcome to Percona Live Online 2021
Online Open Source Database Conference
Back To Schedule
Wednesday, May 12 • 16:30 - 17:00
Steps to Repair a Corrupted MongoDB Shard

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.

This talk demonstrates the steps to repair a corrupted MongoDB Shard.

The main benefit of focusing on the repair of a corrupted shard as opposed to rebuilding the entire sharded cluster is obvious. Any required downtime is limited only to reading/writing of the corrupted shard and should take less time.

For the purpose of this talk, shard corruption is defined as when a shard has a collection with a different UUID as compared to the other shards, and/or different from the UUID in config.collections document for the namespace. Corrupted UUID could be the result of someone dropping the collection directly on the shard, and the restoring the collection to that shard.

A simple Google Search on “mongodb invalid uuid” would demonstrate that this problem has been encountered by multiple mongodb installations world-wide.

avatar for Alex Leong

Alex Leong

Database Engineer, indeed
Database Engineer @ indeed.com                       20+ years in Database AdministrationMongoDB ~ 6 years Certified Mongo DBA Oracle ~ 15 years     Certified Oracle DBA ElasticSearch ~ 1 yearSQL Server ~ 5 yearsmySQL ~ 1 yearCertified Java ProgrammerLinkedIn : https://www.linkedin.com/in/alex-leong-07068b31/Email... Read More →

Wednesday May 12, 2021 16:30 - 17:00 EDT
Room #3