[SERVER-55247]  Invariant failure opCtx->lockState()->isDbLockedForMode(db, MODE_IS) Created: 17/Mar/21  Updated: 24/Apr/21  Resolved: 14/Apr/21

Status: Closed
Project: Core Server
Component/s: Diagnostics, WiredTiger
Affects Version/s: 4.2.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Kaushik Das Assignee: Dmitry Agranat
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-43202 Aggregation system can continue tryin... Closed
Related
related to SERVER-43202 Aggregation system can continue tryin... Closed
Operating System: ALL
Steps To Reproduce:

2021-03-17T06:46:50.620+0000 F  -        [conn1139390] Invariant failure opCtx->lockState()->isDbLockedForMode(db, MODE_IS) || (db.compare("local") == 0 && opCtx->lockState()->isLocked()) src/mongo/db/catalog/database_holder_impl.cpp 74
2021-03-17T06:46:50.620+0000 F  -        [conn1139390]
 
***aborting after invariant() failure
 
 
2021-03-17T06:46:50.651+0000 F  -        [conn1139390] Got signal: 6 (Aborted).
 

This is the log error which I got and server automatically shutdown, I want to know what is the cause so that I can prevent it.

Sprint: Query Execution 2021-04-19
Participants:

 Description   

Problem Description

Mongod running with 4.2.0, with PSS architecture on Ubuntu 18.04LTS, suddenly a replica set node was down. Log Files are attached.
Steps to Reproduce

Expected Results

Actual Results

Additional Notes



 Comments   
Comment by Dmitry Agranat [ 08/Apr/21 ]

Hi kaushik.phpcoder@gmail.com,

The reported issue seems to be a duplicate of SERVER-43202 which was fixed in 4.2.1. We recommend upgrading to the latest 4.2.13 version to take advantage of other fixes.

Regards,
Dima

Comment by Kaushik Das [ 17/Mar/21 ]

Additional log for that connection [conn1139390]

2021-03-17T06:46:28.452+0000 I  NETWORK  [conn1139390] received client metadata from XX.XX.21.XXX:52690 conn1139390: { driver: { name: "NetworkInterfaceTL", version: "4.2.0" }, os: { type: "Linux", name: "Ubuntu", architecture: "x86_64", version: "18.04" } }
2021-03-17T06:46:28.639+0000 I  ACCESS   [conn1139390] Successfully authenticated as principal __system on local from client xx.xx.21.xxx:52690
 
2021-03-17T06:46:50.620+0000 F  -        [conn1139390] Invariant failure opCtx->lockState()->isDbLockedForMode(db, MODE_IS) || (db.compare("local") == 0 && opCtx->lockState()->isLocked()) src/mongo/db/catalog/database_holder_impl.cpp 74
2021-03-17T06:46:50.620+0000 F  -        [conn1139390]
2021-03-17T06:46:50.651+0000 F  -        [conn1139390] Got signal: 6 (Aborted).

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