Error
Error Code:
11602
MongoDB Error 11602: Replication State Change Interruption
Description
Error 11602 indicates that an ongoing operation on a MongoDB replica set member was interrupted because the replica set's state changed. This often occurs during events like primary elections, step-downs, or reconfigurations, where a node's role within the replica set is altered.
Error Message
Interrupted Due To Repl State Change
Known Causes
4 known causesPrimary Election
A replica set primary node has failed or stepped down, initiating an election to choose a new primary.
Replica Set Reconfiguration
The replica set configuration was manually updated, leading to a state change across the members.
Primary Step-Down
The current primary node initiated a step-down, causing a temporary change in the replica set's primary status.
Network Partition
Temporary network connectivity issues between replica set members can lead to perceived state changes or elections.
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