Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-55247

Invariant failure opCtx->lockState()->isDbLockedForMode(db, MODE_IS)

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.2.0
    • Component/s: Diagnostics, WiredTiger
    • None
    • ALL
    • Hide
      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.

      Show
      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.
    • Query Execution 2021-04-19

      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

            Assignee:
            dmitry.agranat@mongodb.com Dmitry Agranat
            Reporter:
            kaushik.phpcoder@gmail.com Kaushik Das
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: