Error
Error Code:
127
MongoDB Error 127: Unrecoverable Rollback Failure
Description
This critical error indicates that a MongoDB replica set member failed to complete a rollback operation, resulting in an inconsistent data state that cannot be automatically resolved. It typically occurs when a secondary node attempts to revert its local changes to match a new primary but encounters insurmountable issues.
Error Message
Unrecoverable Rollback Error
Known Causes
4 known causesExcessive Data Divergence
A replica set member became isolated for an extended period, accumulating too many divergent operations to be automatically rolled back.
Insufficient Rollback File Capacity
The configured `rollback_file_size_limit` was too small to store all necessary operations for the rollback process.
Disk Space Exhaustion
The server ran out of available disk space, preventing MongoDB from writing the necessary rollback files.
Underlying Data Corruption
Corruption or inconsistency in the data files on the attempting-to-rollback member prevented a successful state reversal.
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