Solution | To Resolve; - On Multi Node Instances: One of the server's mongod service is shut down, waiting for the primary to pass to another server. All files in the /var/lib/mongodb path are then deleted. When the Mongod service is restarted, only the necessary files will be created with automatic synchronization. It does not cause interruption in operations.
- On Single Node Instances: It can only be done by making interruptions in operations. The current database is backed up, the running manager is stopped, the database is dropped, the /var/lib/mongodb path is cleared, mongo is restored, the manager is run again.
|