Warning
Error Code:
164
MongoDB Error 164: Replica Set Initial Sync Active
Description
This message indicates that a MongoDB replica set member is actively performing an initial synchronization. During this process, the member copies all data from another replica set member to ensure data consistency. While a normal operation for new or recovering members, it can temporarily impact resource usage and query performance on the syncing node.
Error Message
Initial Sync Active
Known Causes
4 known causesNew Replica Set Member
A new member has been added to the replica set and is performing its first data synchronization to populate its data directory.
Member Rejoining After Outage
A replica set member that was offline for an extended period is rejoining and needs to catch up on all missed operations, necessitating a full sync.
Manual Resync Operation
An administrator manually initiated a resynchronization for a specific replica set member, often to resolve data inconsistencies or rebuild the node.
Data Directory Corruption
If a member's data directory becomes corrupted or unrecoverable, it might be forced to perform an initial sync to restore data integrity.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service