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

ephemeralForTest can hit invariant in temporary record store

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-08-24

      jstests/parallel/basicPlus.js is disabled for ephemeralForTest because this invariant is often hit:

      "Invariant failure","attr":

      {"expr":"!_recordStoreHasBeenFinalized","file":"src/mongo/db/storage/kv/temporary_kv_record_store.cpp","line":50}

      "\n\n***aborting after invariant() failure\n\n"
      "Writing fatal message","attr":

      {"message":"Got signal: 6 (Aborted).\n"}

      "Frame","attr":{"frame":{"a":"7F12102D8D1A","b":"7F120D061000","o":"3277D1A","s":"ZN5mongo18stack_trace_detail12_GLOBAL_N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.627","s+":"1EA"}}
      "Frame","attr":{"frame":{"a":"7F12102DA129","b":"7F120D061000","o":"3279129","s":"_ZN5mongo15printStackTraceEv","s+":"29"}}
      "Frame","attr":{"frame":{"a":"7F12102D6C76","b":"7F120D061000","o":"3275C76","s":"ZN5mongo12_GLOBAL_N_116abruptQuitActionEiP7siginfoPv","s+":"66"}}
      "Frame","attr":{"frame":{"a":"7F120B6A97E0","b":"7F120B69A000","o":"F7E0","s":"_L_unlock_16","s+":"2D"}}
      "Frame","attr":{"frame":{"a":"7F120B3384F5","b":"7F120B306000","o":"324F5","s":"gsignal","s+":"35"}}
      "Frame","attr":{"frame":{"a":"7F120B339CD5","b":"7F120B306000","o":"33CD5","s":"abort","s+":"175"}}
      "Frame","attr":{"frame":{"a":"7F120E054A6A","b":"7F120D061000","o":"FF3A6A","s":"_ZN5mongo15invariantFailedEPKcS1_j","s+":"12C"}}
      "Frame","attr":{"frame":{"a":"7F120DE2F0E0","b":"7F120D061000","o":"DCE0E0","s":"_ZN5mongo22TemporaryKVRecordStore22finalizeTemporaryTableEPNS_16OperationContextENS_20TemporaryRecordStore18FinalizationActionE.cold.321","s+":"18"}}
      "Frame","attr":{"frame":{"a":"7F120F1767F5","b":"7F120D061000","o":"21157F5","s":"_ZN5mongo21IndexBuildInterceptor23finalizeTemporaryTablesEPNS_16OperationContextENS_20TemporaryRecordStore18FinalizationActionE","s+":"65"}}
      "Frame","attr":{"frame":{"a":"7F120F16D9F6","b":"7F120D061000","o":"210C9F6","s":"_ZN5mongo15MultiIndexBlock15abortIndexBuildEPNS_16OperationContextEPNS_10CollectionESt8functionIFvvEE","s+":"126"}}
      "Frame","attr":{"frame":{"a":"7F120EFD72FB","b":"7F120D061000","o":"1F762FB","s":"_ZN5mongo18IndexBuildsManager15abortIndexBuildEPNS_16OperationContextEPNS_10CollectionERKNS_4UUIDESt8functionIFvvEE","s+":"FB"}}
      "Frame","attr":{"frame":{"a":"7F120EDFA806","b":"7F120D061000","o":"1D99806","s":"_ZN5mongo22IndexBuildsCoordinator14_completeAbortEPNS_16OperationContextESt10shared_ptrINS_19ReplIndexBuildStateEENS_16IndexBuildActionENS_6StatusE","s+":"706"}}
      "Frame","attr":{"frame":{"a":"7F120EDFB0EB","b":"7F120D061000","o":"1D9A0EB","s":"_ZN5mongo22IndexBuildsCoordinator18_completeSelfAbortEPNS_16OperationContextESt10shared_ptrINS_19ReplIndexBuildStateEENS_6StatusE","s+":"6B"}}
      "Frame","attr":{"frame":{"a":"7F120DE5FE4D","b":"7F120D061000","o":"DFEE4D","s":"_ZN5mongo22IndexBuildsCoordinator34_insertKeysFromSideTablesAndCommitEPNS_16OperationContextESt10shared_ptrINS_19ReplIndexBuildStateEENS_16IndexBuildActionERKNS0_17IndexBuildOptionsERKNS_9TimestampE.cold.2220","s+":"56D"}}
      "Frame","attr":{"frame":{"a":"7F120EB7C218","b":"7F120D061000","o":"1B1B218","s":"_ZN5mongo28IndexBuildsCoordinatorMongod37_waitForNextIndexBuildActionAndCommitEPNS_16OperationContextESt10shared_ptrINS_19ReplIndexBuildStateEERKNS_22IndexBuildsCoordinator17IndexBuildOptionsE","s+":"668"}}
      "Frame","attr":{"frame":{"a":"7F120EE0025A","b":"7F120D061000","o":"1D9F25A","s":"_ZN5mongo22IndexBuildsCoordinator11_buildIndexEPNS_16OperationContextESt10shared_ptrINS_19ReplIndexBuildStateEERKNS0_17IndexBuildOptionsE","s+":"12A"}}
      "Frame","attr":{"frame":{"a":"7F120EE00352","b":"7F120D061000","o":"1D9F352","s":"_ZN5mongo22IndexBuildsCoordinator19_runIndexBuildInnerEPNS_16OperationContextESt10shared_ptrINS_19ReplIndexBuildStateEERKNS0_17IndexBuildOptionsE","s+":"82"}}
      "Frame","attr":{"frame":{"a":"7F120EE00C83","b":"7F120D061000","o":"1D9FC83","s":"_ZN5mongo22IndexBuildsCoordinator14_runIndexBuildEPNS_16OperationContextERKNS_4UUIDERKNS0_17IndexBuildOptionsE","s+":"2D3"}}
      "Frame","attr":{"frame":{"a":"7F120EB7B90B","b":"7F120D061000","o":"1B1A90B","s":"ZZN5mongo28IndexBuildsCoordinatorMongod15startIndexBuildEPNS_16OperationContextENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4UUIDERKSt6vectorINS_7BSONObjESaISB_EERKS9_NS_18IndexBuildProtocolENS_22IndexBuildsCoordinator17IndexBuildOptionsEENUlT_E3_clINS_6StatusEEEDaSL","s+":"33B"}}
      "Frame","attr":{"frame":{"a":"7F120EB7BB43","b":"7F120D061000","o":"1B1AB43","s":"ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_28IndexBuildsCoordinatorMongod15startIndexBuildEPNS_16OperationContextENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4UUIDERKSt6vectorINS_7BSONObjESaISG_EERKSE_NS_18IndexBuildProtocolENS_22IndexBuildsCoordinator17IndexBuildOptionsEEUlT_E3_EEDaOSQ_EN12SpecificImpl4callEOS1","s+":"33"}}
      "Frame","attr":{"frame":{"a":"7F12101076C2","b":"7F120D061000","o":"30A66C2","s":"_ZN5mongo10ThreadPool10_doOneTaskEPSt11unique_lockINS_12latch_detail5LatchEE","s+":"132"}}
      "Frame","attr":{"frame":{"a":"7F1210109256","b":"7F120D061000","o":"30A8256","s":"_ZN5mongo10ThreadPool13_consumeTasksEv","s+":"86"}}
      "Frame","attr":{"frame":{"a":"7F1210109D91","b":"7F120D061000","o":"30A8D91","s":"ZN5mongo10ThreadPool17_workerThreadBodyEPS0_RKNSt7_cxx1112basic_stringIcSt11char_traitsIcESaIcEEE","s+":"E1"}}
      "Frame","attr":{"frame":{"a":"7F121010A180","b":"7F120D061000","o":"30A9180","s":"_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN5mongo4stdx6threadC4IZNS3_10ThreadPool25_startWorkerThread_inlockEvEUlvE2_JELi0EEET_DpOT0_EUlvE_EEEEE6_M_runEv","s+":"60"}}
      "Frame","attr":{"frame":{"a":"7F1210486E1F","b":"7F120D061000","o":"3425E1F","s":"execute_native_thread_routine","s+":"F"}}
      "Frame","attr":{"frame":{"a":"7F120B6A1AA1","b":"7F120B69A000","o":"7AA1","s":"start_thread","s+":"D1"}}
      "Frame","attr":{"frame":

      {"a":"7F120B3EEC4D","b":"7F120B306000","o":"E8C4D","s":"clone","s+":"6D"}

      }

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: