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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 4.2.0
    • Fix Version/s: None
    • Component/s: Diagnostics, WiredTiger
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      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.
    • Sprint:
      Query Execution 2021-04-19

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: