We have a huge DB (<500GB) hosted on AWS. When we clone this and try to access it, we are getting this message - “Detected corrupt BSON data for field path ‘domain’ at offset 62 {“exception”:”[object] (MongoDB\Driver\Exception\UnexpectedValueException(code: 0): Detected corrupt BSON data for field path ‘domain’ at offset 62 at vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:410)"
The index rebuilding is failing during Mongo DB repair. This process takes days to complete. We are using Laravel and https://github.com/mongodb/mongo-php-driver. The package suggests repairing the DB but since thats failing, we have been stuck at this for weeks. Any help would be much appreciated,