I'm trying to restore mongo database of about 2.6TB using mongorestore tool on Mongodb 6.0. The process fails at 73.1% with error
fs.chunks.bson: mongorestore cannot transform type bson.raw to a bson document. invalid key found. remaining bytes=[].
I would like to know if there is a way to skip this error or if there is any way to resolve the issue.
I tried to restore with different mongorestore flags obtained from internet and mongodb manual with no success. I even upgraded the mongoDb while trying to resolve this issues.