Backup Fails in Three node Replication

Hi, There is a three node replication setup where mongo dump fails in all the three nodes with the error - Failed: error writing data for collection `` to disk: error reading collection: (InterruptedAtShutdown) interrupted at shutdown.

I did pointed backups to different drives and still the issue is same. There is one finding like primary keeps changing between three servers very often , not sure would that be the cause of the issue.

Hi @Gayathri_Ramesh and welcome in the MongoDB Community :muscle: !

You need to stabilize the system first. The primary shouldn’t keep switching from one node to another. What is the root cause of this? Did you analyse the logs? That’s where I would start.

Also, did you check your system? Do you have enough RAM, disk space, CPU, etc?