[SERVER-35667] Fatal Assertion 34433 Created: 19/Jun/18  Updated: 23/Jul/18  Resolved: 19/Jun/18

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

Type: Bug Priority: Major - P3
Reporter: dinindu Assignee: Nick Brewer
Resolution: Done Votes: 0
Labels: needs_info
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MongoDB
===
db version v3.6.5
git version: a20ecd3e3a174162052ff99913bc2ca9a839d618
OpenSSL version: OpenSSL 1.1.0h 27 Mar 2018
allocator: system
modules: none
build environment:
distarch: x86_64
target_arch: x86_64

Mac
===
macOS High Sierra v10.13.4
Processor Name: Intel Core i5
Processor Speed: 2.6 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 3 MB
Memory: 8 GB


Attachments: Text File BACKTRACE.txt    
Participants:

 Description   

Hi, Suddenly I won't be able to start the MongoDB server. I tired by repairing database but keep getting this error.

Mac:~ dinindu$ sudo mongod
Password:
2018-06-19T12:13:13.209+0530 I CONTROL [initandlisten] MongoDB starting : pid=804 port=27017 dbpath=/data/db 64-bit host=Mac.local
2018-06-19T12:13:13.210+0530 I CONTROL [initandlisten] db version v3.6.5
2018-06-19T12:13:13.210+0530 I CONTROL [initandlisten] git version: a20ecd3e3a174162052ff99913bc2ca9a839d618
2018-06-19T12:13:13.210+0530 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.0h 27 Mar 2018
2018-06-19T12:13:13.210+0530 I CONTROL [initandlisten] allocator: system
2018-06-19T12:13:13.210+0530 I CONTROL [initandlisten] modules: none
2018-06-19T12:13:13.210+0530 I CONTROL [initandlisten] build environment:
2018-06-19T12:13:13.210+0530 I CONTROL [initandlisten] distarch: x86_64
2018-06-19T12:13:13.210+0530 I CONTROL [initandlisten] target_arch: x86_64
2018-06-19T12:13:13.210+0530 I CONTROL [initandlisten] options: {}
2018-06-19T12:13:13.210+0530 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty.
2018-06-19T12:13:13.219+0530 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2018-06-19T12:13:13.219+0530 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
2018-06-19T12:13:13.219+0530 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3584M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),cache_cursors=false,log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2018-06-19T12:13:18.902+0530 I STORAGE [initandlisten] WiredTiger message [1529390598:902654][804:0x7fff8da14380], txn-recover: Set global recovery timestamp: 0
{{ Version: Unable to find metadata for table:collection-1--4208304830224804148}}
2018-06-19T12:13:22.917+0530 F - [initandlisten] Fatal Assertion 34433 at src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp 633
2018-06-19T12:13:22.917+0530 F - [initandlisten]***aborting after fassert() failure



 Comments   
Comment by Nick Brewer [ 19/Jun/18 ]

Hi,

Unfortunately the errors you're seeing, specifically:

2018-06-19T12:13:22.917+0530 F - [initandlisten] Fatal Assertion 34433 at src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp 63

and:

2018-06-19T12:49:24.715+0530 F - [initandlisten] Invariant failure rs.get() src/mongo/db/catalog/database_impl.cpp 226

indicate that there was corruption on the disk, most often caused by a faulty storage layer. In this situation, our best recommendation would be to resync the affected node if possible, or restore from a backup.

To prevent this type of problem in the future please take note of the following guidelines to help mitigate any issues related to unreliable storage layers or server failures.

Nick

Comment by dinindu [ 19/Jun/18 ]
Before BACKTRACE (ATTACHED ABOVE) I got this,

Repairing collection pdg_db.app_sessions
2018-06-19T12:49:24.715+0530 I STORAGE [initandlisten] Verify failed on uri table:collection-1--4208304830224804148. Running a salvage operation.
2018-06-19T12:49:24.715+0530 F - [initandlisten] Invariant failure rs.get() src/mongo/db/catalog/database_impl.cpp 226

Generated at Thu Feb 08 04:40:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.