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

WT_WITH_TABLE_LOCK assert failure during compact

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0-rc7
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • 0

      In a debug build, we are now turning on HAVE_DIAGNOSTIC, which activates WT_ASSERT checking. One such check failed during the parallel test suite, where we were running the Compact command at the same time as some other operations:

      http://buildlogger-test-2014121502-1.10gen-mci.4085.mongodbdns.com:8080/build/54bfbcac7fe2dd09ac008055/test/54bfbeed7fe2dd09ac0087f9

      2015-01-21T10:02:20.092-0500 E STORAGE  [conn82] WiredTiger (0) [1421852540:92613][30694:0x48592940], session.checkpoint: src/third_party/wiredtiger/src/schema/schema_list.c, 28: F_ISSET(session, WT_SESSION_TABLE_LOCKED) || !F_ISSET(session, WT_SESSION_HANDLE_LIST_LOCKED
      2015-01-21T10:02:20.092-0500 E STORAGE  [conn82] WiredTiger (0) [1421852540:92713][30694:0x48592940], session.checkpoint: aborting WiredTiger library
      2015-01-21T10:02:20.106-0500 F -        [conn82] Got signal: 6 (Aborted).
       0xf5bb99 0xf5b242 0xf5b5c6 0x7fda488122d0 0x7fda48812265 0x7fda48813d10 0x15423df 0x157638b 0x1563e74 0x1570c9e 0x157e405 0x157f2fd 0x15728a6 0x1574712 0xd79157 0x91878d 0x94faf9 0x9dfdb4 0x9e0cf3 0x9e17ab 0xbb1b57 0xac1ab8 0x80ab32 0xf19991 0x7fda496dd73d 0x7fda488b5d1d
      ----- BEGIN BACKTRACE -----
       mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xf5bb99]
       mongod(+0xB5B242) [0xf5b242]
       mongod(+0xB5B5C6) [0xf5b5c6]
       libc.so.6(+0x302D0) [0x7fda488122d0]
       libc.so.6(gsignal+0x35) [0x7fda48812265]
       libc.so.6(abort+0x110) [0x7fda48813d10]
       mongod(+0x11423DF) [0x15423df]
       mongod(+0x117638B) [0x157638b]
       mongod(__wt_schema_get_table+0x244) [0x1563e74]
       mongod(__wt_schema_worker+0x3AE) [0x1570c9e]
       mongod(+0x117E405) [0x157e405]
       mongod(__wt_txn_checkpoint+0x29D) [0x157f2fd]
       mongod(+0x11728A6) [0x15728a6]
       mongod(__wt_session_compact+0x3E2) [0x1574712]
       mongod(_ZN5mongo21WiredTigerRecordStore7compactEPNS_16OperationContextEPNS_25RecordStoreCompactAdaptorEPKNS_14CompactOptionsEPNS_12CompactStatsE+0x37) [0xd79157]
       mongod(_ZN5mongo10Collection7compactEPNS_16OperationContextEPKNS_14CompactOptionsE+0x22D) [0x91878d]
       mongod(_ZN5mongo10CompactCmd3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x7B9) [0x94faf9]
       mongod(_ZN5mongo12_execCommandEPNS_16OperationContextEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x34) [0x9dfdb4]
       mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_iPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xC13) [0x9e0cf3]
       mongod(_ZN5mongo12_runCommandsEPNS_16OperationContextEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x28B) [0x9e17ab]
       mongod(_ZN5mongo8runQueryEPNS_16OperationContextERNS_7MessageERNS_12QueryMessageERKNS_15NamespaceStringERNS_5CurOpES3_b+0x787) [0xbb1b57]
       mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortEb+0xAC8) [0xac1ab8]
       mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xE2) [0x80ab32]
       mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x321) [0xf19991]
       libpthread.so.0(+0x673D) [0x7fda496dd73d]
       libc.so.6(clone+0x6D) [0x7fda488b5d1d]
      		
      -----  END BACKTRACE  -----
      

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: