0

I have accidentally triggered a drop collection command on one replica set (primary-shard) of a MongoDB sharded cluster (no secondary shards). Unfortunately now I can not access the data of this shard anymore. On the machine the .wt files are still available and are not dropped. Also all the cache information of this collection is still available. The MongoDB is version 4.2.22.

Is there a way to restore the deleted collection on this shard again? Thanks in advance

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.