[SERVER-54416] WT_SESSION.checkpoint: __wt_turtle_update, 418: WiredTiger.turtle: fatal turtle file update error: File exists Created: 09/Feb/21  Updated: 27/Oct/23  Resolved: 25/Feb/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.0.10
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Chris De Bruyne Assignee: Dmitry Agranat
Resolution: Community Answered Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File MongodbLogs.log    
Operating System: ALL
Participants:

 Description   

Hello,

we are investigating what went wrong with our database but when we start the db we get the following in the logs. I'm afraid the logs before are gone so we might not be able to tell you what happend.

 

Any tips on how to recover our data, before we use our backup?

 



 Comments   
Comment by Dmitry Agranat [ 11/Feb/21 ]

Hi chris.debruyne@cm.be,

This error message leads us to suspect some form of physical corruption:

2021-02-09T07:13:45.019+0000 I STORAGE  [initandlisten] WiredTiger message [1612854825:19084][1:0x7efe17388a80], txn-recover: Set global recovery timestamp: 0
2021-02-09T07:13:45.057+0000 E STORAGE  [initandlisten] WiredTiger error (17) [1612854825:57766][1:0x7efe17388a80], file:WiredTiger.wt, WT_SESSION.checkpoint: __posix_fs_rename, 253: /data/db/WiredTiger.turtle.set to /data/db/WiredTiger.turtle: file-rename: rename: File exists Raw: [1612854825:57766][1:0x7efe17388a80], file:WiredTiger.wt, WT_SESSION.checkpoint: __posix_fs_rename, 253: /data/db/WiredTiger.turtle.set to /data/db/WiredTiger.turtle: file-rename: rename: File exists
2021-02-09T07:13:45.059+0000 E STORAGE  [initandlisten] WiredTiger error (17) [1612854825:59580][1:0x7efe17388a80], file:WiredTiger.wt, WT_SESSION.checkpoint: __wt_turtle_update, 418: WiredTiger.turtle: fatal turtle file update error: File exists Raw: [1612854825:59580][1:0x7efe17388a80], file:WiredTiger.wt, WT_SESSION.checkpoint: __wt_turtle_update, 418: WiredTiger.turtle: fatal turtle file update error: File exists
2021-02-09T07:13:45.059+0000 E STORAGE  [initandlisten] WiredTiger error (-31804) [1612854825:59621][1:0x7efe17388a80], file:WiredTiger.wt, WT_SESSION.checkpoint: __wt_panic, 520: the process must exit and restart: WT_PANIC: WiredTiger library panic Raw: [1612854825:59621][1:0x7efe17388a80], file:WiredTiger.wt, WT_SESSION.checkpoint: __wt_panic, 520: the process must exit and restart: WT_PANIC: WiredTiger library panic
2021-02-09T07:13:45.059+0000 F -        [initandlisten] Fatal Assertion 50853 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 409

The ideal resolution is to perform a clean resync from an unaffected node.

You can also try mongod --repair using the latest version of MongoDB.

Thanks,
Dima

Generated at Thu Feb 08 05:33:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.