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

findAndModify rollback triggers !_mustRollback invariant failure with profiling enabled

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:

      Description

      This invariant failures affects mmapv1, but not WiredTiger. It requires profiling to be enabled on the database.

      Invariant failure !_mustRollback src/mongo/db/storage/mmap_v1/dur_recovery_unit.cpp 55
       
      #0  0x00007ffff7bcc20b in raise (sig=5) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
      #1  0x00000000018d5cac in mongo::breakpoint () at src/mongo/util/debugger.cpp:63
      #2  0x00000000018cab1d in mongo::invariantFailed (expr=0x2026b1b "!_mustRollback", file=0x2026ad8 "src/mongo/db/storage/mmap_v1/dur_recovery_unit.cpp", line=55) at src/mongo/util/assert_util.cpp:147
      #3  0x00000000017004c7 in mongo::DurRecoveryUnit::commitUnitOfWork (this=0x32d0460) at src/mongo/db/storage/mmap_v1/dur_recovery_unit.cpp:55
      #4  0x0000000001141902 in mongo::WriteUnitOfWork::commit (this=0x7ffff7fcc370) at src/mongo/db/operation_context.h:166
      #5  0x0000000001452840 in mongo::profile (txn=0x7ffff7fcc7d0, op=2004) at src/mongo/db/introspect.cpp:133
      #6  0x000000000144b27f in mongo::assembleResponse (txn=0x7ffff7fcc7d0, m=..., dbresponse=..., remote=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:511
      #7  0x0000000001142284 in mongo::MyMessageHandler::process (this=0x30ce1c8, m=..., port=0x30f4580, le=0x34122d0) at src/mongo/db/db.cpp:206
      #8  0x00000000018f3db2 in mongo::PortMessageServer::handleIncomingMsg (arg=0x30f4580) at src/mongo/util/net/message_server_port.cpp:229
      #9  0x00007ffff7bc4182 in start_thread (arg=0x7ffff7fcd700) at pthread_create.c:312
      #10 0x00007ffff6cc500d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: