[SERVER-37659] Fatal assertion 50666 UnrecoverableRollbackError: not willing to roll back more than 86400 seconds of data. Have: 2060363 seconds. at src/mongo/db/repl/bgsync.cpp 696 Created: 18/Oct/18 Updated: 27/Oct/23 Resolved: 18/Oct/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.0.1 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | 道一 | Assignee: | Kelsey Schubert |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CentOS Linux release 7.1.1503 (Core) |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
三台服务器,P,S,A 1、从节点S宕机 2、主节点P把硬盘打满,手动kill掉服务 3、./bin/mongod --repair -f mongod.conf 恢复主节点数据P 4、硬盘减少一半空间 5、启动从节点S 6、./bin/mongod -f mongod.conf 启动主节点P 7、启动失败 8、关闭从节点S再启动主节点失败 提示错误(参考附件P-mongo.log) Rollback failed with unrecoverable error: UnrecoverableRollbackError: not willing to roll back more than 86400 seconds of data. Have: 2060363 seconds. 9、仲裁节点A日志(参考附件A-mongo.log)
|
| Comments |
| Comment by 道一 [ 23/Oct/18 ] |
|
谢谢,服务已经正常启动 |
| Comment by Kelsey Schubert [ 18/Oct/18 ] |
|
Hi gufengyouqi, This behavior is expected, and is documented in more detail here: https://docs.mongodb.com/manual/core/replica-set-rollbacks/#time-elapsed-limitations Kind regards, |