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

Crash (broken promise) with concurrent inserts into time-series collections and TTL deletion

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-03-08, Execution Team 2021-03-22

      I made an FSM workload to perform concurrent inserts on time-series collections and I encountered the following crash:

      [MongoDFixture:job0] 2021-03-03T14:12:06.057-05:00 F  -        [conn48] Invariant failure {"expr":"swCommitInfo.getStatus() == ErrorCodes::TimeseriesBucketCleared","msg":"Got unexpected error (BrokenPromise: broken promise) waiting for time-series bucket to be committed for test0_fsmdb0.insert_ttl_timeseries_fsmcoll0: { insert: \"insert_ttl_timeseries_fsmcoll0\", bypassDocumentValidation: false, ordered: false, documents: [ { _id: ObjectId('603fdf8598d194be471f931e'), tid: 17.0, time: new Date(1614795125975), data: 0.9090930736249205 }, { _id: ObjectId('603fdf8598d194be471f9320'), tid: 9.0, time: new Date(1614795125975), data: 0.5619169503782148 }, { _id: ObjectId('603fdf8598d194be471f9322'), tid: 1.0, time: new Date(1614795125975), data: 0.09367421985199542 }, { _id: ObjectId('603fdf8598d194be471f9324'), tid: 5.0, time: new Date(1614795125976), data: 0.5657989441299691 }, { _id: ObjectId('603fdf8598d194be471f9326'), tid: 8.0, time: new Date(1614795125976), data: 0.7737351454516973 }, { _id: ObjectId('603fdf8598d194be471f9328'), tid: 9.0, time: new Date(1614795125977), data: 0.7337818241332041 }, { _id: ObjectId('603fdf8598d194be471f932a'), tid: 18.0, time: new Date(1614795125977), data: 0.6673428856349328 }, { _id: ObjectId('603fdf8598d194be471f932c'), tid: 6.0, time: new Date(1614795125978), data: 0.8494237528123718 }, { _id: ObjectId('603fdf8598d194be471f932e'), tid: 13.0, time: new Date(1614795125978), data: 0.01971986757459199 }, { _id: ObjectId('603fdf8598d194be471f9330'), tid: 6.0, time: new Date(1614795125979), data: 0.2959027474200786 }, { _id: ObjectId('603fdf8598d194be471f9332'), tid: 3.0, time: new Date(1614795125979), data: 0.5066000322210921 }, { _id: ObjectId('603fdf8598d194be471f9334'), tid: 2.0, time: new Date(1614795125979), data: 0.1248622181845234 }, { _id: ObjectId('603fdf8598d194be471f9336'), tid: 13.0, time: new Date(1614795125980), data: 0.7893186619146842 }, { _id: ObjectId('603fdf8598d194be471f9337'), tid: 16.0, time: new Date(1614795125980), data: 0.9561262083102662 }, { _id: ObjectId('603fdf8598d194be471f9338'), tid: 16.0, time: new Date(1614795125981), data: 0.01796908894082139 }, { _id: ObjectId('603fdf8598d194be471f9339'), tid: 10.0, time: new Date(1614795125981), data: 0.1441932686657772 }, { _id: ObjectId('603fdf8598d194be471f933b'), tid: 4.0, time: new Date(1614795125982), data: 0.772701354941389 }, { _id: ObjectId('603fdf8598d194be471f933e'), tid: 8.0, time: new Date(1614795125982), data: 0.3226323812234883 }, { _id: ObjectId('603fdf8598d194be471f9340'), tid: 1.0, time: new Date(1614795125982), data: 0.3894915456596766 }, { _id: ObjectId('603fdf8598d194be471f9342'), tid: 16.0, time: new Date(1614795125983), data: 0.713991433979517 } ] }","file":"src/mongo/db/commands/write_commands/write_commands.cpp","line":770}
      [MongoDFixture:job0] 2021-03-03T14:12:06.335-05:00 I  CONTROL  [conn48] BACKTRACE {"bt":{"backtrace":[{"a":"7F3927AA8A2E","b":"7F3927515000","o":"593A2E","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_122LibunwindStepIterationC2ERNS_14StackTraceSinkE","s+":"82"},{"a":"7F3927AA92E7","b":"7F3927515000","o":"5942E7","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE","s+":"99"},{"a":"7F3927AA96A5","b":"7F3927515000","o":"5946A5","s":"_ZN5mongo15printStackTraceEv","s+":"3C"},{"a":"7F3927A9D417","b":"7F3927515000","o":"588417","s":"_ZN5mongo12_GLOBAL__N_123printSignalAndBacktraceEi","s+":"6F"},{"a":"7F3927A9D56B","b":"7F3927515000","o":"58856B","s":"abruptQuit","s+":"31"},{"a":"7F3927A9D5DB","b":"7F3927515000","o":"5885DB","s":"abruptQuitAction","s+":"1D"},{"a":"7F3926575C70","b":"7F3926563000","o":"12C70","s":"funlockfile","s+":"50"},{"a":"7F392628EE35","b":"7F3926257000","o":"37E35","s":"gsignal","s+":"145"},{"a":"7F3926279895","b":"7F3926257000","o":"22895","s":"abort","s+":"127"},{"a":"7F3927A783C6","b":"7F3927515000","o":"5633C6","s":"_ZN5mongo22invariantFailedWithMsgEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j","s+":"210"},{"a":"7F390AAFAC3C","b":"7F390A6C3000","o":"437C3C","s":"_ZN5mongo31invariantWithContextAndLocationIbZNKS_12_GLOBAL__N_19CmdInsert10Invocation33_performUnorderedTimeseriesWritesEPNS_16OperationContextEmmPSt6vectorINS_7BSONObjESaIS7_EEPN5boost8optionalINS_4repl6OpTimeEEEPNSC_INS_3OIDEEERKNSC_IS6_ImSaImEEEEEUlvE0_EEvRKT_PKcOT0_SU_j","s+":"67"},{"a":"7F390AAF55B1","b":"7F390A6C3000","o":"4325B1","s":"_ZNK5mongo12_GLOBAL__N_19CmdInsert10Invocation33_performUnorderedTimeseriesWritesEPNS_16OperationContextEmmPSt6vectorINS_7BSONObjESaIS6_EEPN5boost8optionalINS_4repl6OpTimeEEEPNSB_INS_3OIDEEERKNSB_IS5_ImSaImEEEE","s+":"43B"},{"a":"7F390AAF5AF2","b":"7F390A6C3000","o":"432AF2","s":"_ZNK5mongo12_GLOBAL__N_19CmdInsert10Invocation30_performTimeseriesWritesSubsetEPNS_16OperationContextEmmPSt6vectorINS_7BSONObjESaIS6_EEPN5boost8optionalINS_4repl6OpTimeEEEPNSB_INS_3OIDEEE","s+":"A0"},{"a":"7F390AAF5E50","b":"7F390A6C3000","o":"432E50","s":"_ZNK5mongo12_GLOBAL__N_19CmdInsert10Invocation24_performTimeseriesWritesEPNS_16OperationContextEPNS_9write_ops11InsertReplyE","s+":"212"},{"a":"7F390AAF33D8","b":"7F390A6C3000","o":"4303D8","s":"_ZN5mongo12_GLOBAL__N_19CmdInsert10Invocation8typedRunEPNS_16OperationContextE","s+":"DA"},{"a":"7F390AAFE638","b":"7F390A6C3000","o":"43B638","s":"_ZN5mongo12TypedCommandINS_12_GLOBAL__N_19CmdInsertEE14InvocationBase13_callTypedRunEPNS_16OperationContextE","s+":"3A"},{"a":"7F390AAFEC57","b":"7F390A6C3000","o":"43BC57","s":"_ZN5mongo12TypedCommandINS_12_GLOBAL__N_19CmdInsertEE14InvocationBase8_runImplESt17integral_constantIbLb0EEPNS_16OperationContextEPNS_3rpc21ReplyBuilderInterfaceE","s+":"41"},{"a":"7F390AAFE68C","b":"7F390A6C3000","o":"43B68C","s":"_ZN5mongo12TypedCommandINS_12_GLOBAL__N_19CmdInsertEE14InvocationBase3runEPNS_16OperationContextEPNS_3rpc21ReplyBuilderInterfaceE","s+":"3A"},{"a":"7F3912819C8C","b":"7F39126A9000","o":"170C8C","s":"_ZN5mongo14CommandHelpers20runCommandInvocationEPNS_16OperationContextERKNS_12OpMsgRequestEPNS_17CommandInvocationEPNS_3rpc21ReplyBuilderInterfaceE","s+":"AC"},{"a":"7F39128199E6","b":"7F39126A9000","o":"1709E6","s":"_ZZN5mongo14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEENS_9transport15ServiceExecutor14ThreadingModelEENKUlvE_clEv","s+":"42"},{"a":"7F3912820F47","b":"7F39126A9000","o":"177F47","s":"_ZN5mongo19makeReadyFutureWithIZNS_14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES2_INS_17CommandInvocationEENS_9transport15ServiceExecutor14ThreadingModelEEUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultIOT_JEE4typeEE4typeEEESG_","s+":"34"},{"a":"7F3912819B58","b":"7F39126A9000","o":"170B58","s":"_ZN5mongo14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEENS_9transport15ServiceExecutor14ThreadingModelE","s+":"13A"},{"a":"7F390D66B75B","b":"7F390D52E000","o":"13D75B","s":"_ZN5mongo12_GLOBAL__N_120runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEE","s+":"A6"},{"a":"7F390D670C77","b":"7F390D52E000","o":"142C77","s":"_ZZN5mongo12_GLOBAL__N_113InvokeCommand3runEvENKUlvE_clEv","s+":"119"},{"a":"7F390D687288","b":"7F390D52E000","o":"159288","s":"_ZN5mongo19makeReadyFutureWithIZNS_12_GLOBAL__N_113InvokeCommand3runEvEUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultIOT_JEE4typeEE4typeEEES9_","s+":"3E"},{"a":"7F390D670F1C","b":"7F390D52E000","o":"142F1C","s":"_ZN5mongo12_GLOBAL__N_113InvokeCommand3runEv","s+":"3A"},{"a":"7F390D6742D0","b":"7F390D52E000","o":"1462D0","s":"_ZZN5mongo12_GLOBAL__N_114RunCommandImpl11_runCommandEvENKUlPT_E0_clINS0_13InvokeCommandEEEDaS3_","s+":"36"},{"a":"7F390D674361","b":"7F390D52E000","o":"146361","s":"_ZZNO5mongo11future_util10AsyncStateINS_12_GLOBAL__N_113InvokeCommandEE13thenWithStateIZNS2_14RunCommandImpl11_runCommandEvEUlPT_E0_EEDaOS7_ENKUlvE_clEv","s+":"4D"},{"a":"7F390D6886A9","b":"7F390D52E000","o":"15A6A9","s":"_ZN5mongo19makeReadyFutureWithIZNOS_11future_util10AsyncStateINS_12_GLOBAL__N_113InvokeCommandEE13thenWithStateIZNS3_14RunCommandImpl11_runCommandEvEUlPT_E0_EEDaOS8_EUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultISB_JEE4typeEE4typeEEESB_","s+":"3E"},{"a":"7F390D6744B4","b":"7F390D52E000","o":"1464B4","s":"_ZNO5mongo11future_util10AsyncStateINS_12_GLOBAL__N_113InvokeCommandEE13thenWithStateIZNS2_14RunCommandImpl11_runCommandEvEUlPT_E0_EEDaOS7_","s+":"B4"},{"a":"7F390D67461F","b":"7F390D52E000","o":"14661F","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl11_runCommandEv","s+":"151"},{"a":"7F390D67620A","b":"7F390D52E000","o":"14820A","s":"_ZN5mongo12_GLOBAL__N_132RunCommandAndWaitForWriteConcern24_runCommandWithFailPointEv","s+":"352"},{"a":"7F390D675752","b":"7F390D52E000","o":"147752","s":"_ZN5mongo12_GLOBAL__N_132RunCommandAndWaitForWriteConcern8_runImplEv","s+":"3E"},{"a":"7F390D66F1E8","b":"7F390D52E000","o":"1411E8","s":"_ZZN5mongo12_GLOBAL__N_114RunCommandImpl3runEvENKUlvE_clEv","s+":"52"},{"a":"7F390D686B98","b":"7F390D52E000","o":"158B98","s":"_ZN5mongo19makeReadyFutureWithIZNS_12_GLOBAL__N_114RunCommandImpl3runEvEUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultIOT_JEE4typeEE4typeEEES9_","s+":"3E"},{"a":"7F390D6707BA","b":"7F390D52E000","o":"1427BA","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl3runEv","s+":"3A"},{"a":"7F390D679366","b":"7F390D52E000","o":"14B366","s":"_ZZZN5mongo12_GLOBAL__N_119ExecCommandDatabase12_commandExecEvENKUlvE_clEvENKUlPT_E_clINS0_32RunCommandAndWaitForWriteConcernEEEDaS4_","s+":"36"},{"a":"7F390D6793F7","b":"7F390D52E000","o":"14B3F7","s":"_ZZNO5mongo11future_util10AsyncStateINS_12_GLOBAL__N_132RunCommandAndWaitForWriteConcernEE13thenWithStateIZZNS2_19ExecCommandDatabase12_commandExecEvENKUlvE_clEvEUlPT_E_EEDaOS8_ENKUlvE_clEv","s+":"4D"},{"a":"7F390D689569","b":"7F390D52E000","o":"15B569","s":"_ZN5mongo19makeReadyFutureWithIZNOS_11future_util10AsyncStateINS_12_GLOBAL__N_132RunCommandAndWaitForWriteConcernEE13thenWithStateIZZNS3_19ExecCommandDatabase12_commandExecEvENKUlvE_clEvEUlPT_E_EEDaOS9_EUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultISC_JEE4typeEE4typeEEESC_","s+":"3E"},{"a":"7F390D67954A","b":"7F390D52E000","o":"14B54A","s":"_ZNO5mongo11future_util10AsyncStateINS_12_GLOBAL__N_132RunCommandAndWaitForWriteConcernEE13thenWithStateIZZNS2_19ExecCommandDatabase12_commandExecEvENKUlvE_clEvEUlPT_E_EEDaOS8_","s+":"B4"},{"a":"7F390D679A67","b":"7F390D52E000","o":"14BA67","s":"_ZZN5mongo12_GLOBAL__N_119ExecCommandDatabase12_commandExecEvENKUlvE_clEv","s+":"113"},{"a":"7F390D67A18A","b":"7F390D52E000","o":"14C18A","s":"_ZN5mongo12_GLOBAL__N_119ExecCommandDatabase12_commandExecEv","s+":"128"},{"a":"7F390D66DFF8","b":"7F390D52E000","o":"13FFF8","s":"_ZZN5mongo12_GLOBAL__N_119ExecCommandDatabase3runEvENKUlvE_clEv","s+":"44"},{"a":"7F390D6867A6","b":"7F390D52E000","o":"1587A6","s":"_ZN5mongo19makeReadyFutureWithIZNS_12_GLOBAL__N_119ExecCommandDatabase3runEvEUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultIOT_JEE4typeEE4typeEEES9_","s+":"3E"},{"a":"7F390D66EBB4","b":"7F390D52E000","o":"140BB4","s":"_ZN5mongo12_GLOBAL__N_119ExecCommandDatabase3runEv","s+":"3A"},{"a":"7F390D67C3AA","b":"7F390D52E000","o":"14E3AA","s":"_ZZZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEEENUlvE0_clEvENKUlPT_E_clINS0_19ExecCommandDatabaseEEEDaS7_","s+":"36"},{"a":"7F390D67C43B","b":"7F390D52E000","o":"14E43B","s":"_ZZNO5mongo11future_util10AsyncStateINS_12_GLOBAL__N_119ExecCommandDatabaseEE13thenWithStateIZZNS2_14executeCommandESt10shared_ptrINS2_13HandleRequest16ExecutionContextEEENUlvE0_clEvEUlPT_E_EEDaOSB_ENKUlvE_clEv","s+":"4D"},{"a":"7F390D68AC37","b":"7F390D52E000","o":"15CC37","s":"_ZN5mongo19makeReadyFutureWithIZNOS_11future_util10AsyncStateINS_12_GLOBAL__N_119ExecCommandDatabaseEE13thenWithStateIZZNS3_14executeCommandESt10shared_ptrINS3_13HandleRequest16ExecutionContextEEENUlvE0_clEvEUlPT_E_EEDaOSC_EUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultISF_JEE4typeEE4typeEEESF_","s+":"3E"},{"a":"7F390D67C58E","b":"7F390D52E000","o":"14E58E","s":"_ZNO5mongo11future_util10AsyncStateINS_12_GLOBAL__N_119ExecCommandDatabaseEE13thenWithStateIZZNS2_14executeCommandESt10shared_ptrINS2_13HandleRequest16ExecutionContextEEENUlvE0_clEvEUlPT_E_EEDaOSB_","s+":"B4"},{"a":"7F390D67C5FC","b":"7F390D52E000","o":"14E5FC","s":"_ZZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEEENUlvE0_clEv","s+":"54"},{"a":"7F390D67C67F","b":"7F390D52E000","o":"14E67F","s":"_ZN5mongo14future_details4callIRZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINS2_13HandleRequest16ExecutionContextEEEUlvE0_EEDaOT_NS0_8FakeVoidE","s+":"32"},{"a":"7F390D67C6DB","b":"7F390D52E000","o":"14E6DB","s":"_ZN5mongo14future_details12throwingCallIRZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINS2_13HandleRequest16ExecutionContextEEEUlvE0_JNS0_8FakeVoidEEEEDaOT_DpOT0_","s+":"42"},{"a":"7F390D67C8D6","b":"7F390D52E000","o":"14E8D6","s":"_ZZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINS5_13HandleRequest16ExecutionContextEEEUlvE0_EEDaOT_ENKUlvE1_clEvENUlPNS0_15SharedStateImplIS2_EESG_E_clESG_SG_","s+":"B8"},{"a":"7F390D68AD48","b":"7F390D52E000","o":"15CD48","s":"_ZZN5mongo14future_details10FutureImplINS0_8FakeVoidEE16makeContinuationIvZZNOS3_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINS6_13HandleRequest16ExecutionContextEEEUlvE0_EEDaOT_ENKUlvE1_clEvEUlPNS0_15SharedStateImplIS2_EESH_E_EENS1_ISC_EEOT0_ENUlPNS0_15SharedStateBaseEE_clESN_","s+":"6A"},{"a":"7F390D69A12D","b":"7F390D52E000","o":"16C12D","s":"_ZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE15callRegularVoidIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE0_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEvSt17integral_constantIbLb1EERSI_OS3_","s+":"2E"},{"a":"7F390D692FF3","b":"7F390D52E000","o":"164FF3","s":"_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE0_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEDaSJ_EN12SpecificImpl4callEOS3_","s+":"41"},{"a":"7F3926B1D7B8","b":"7F3926976000","o":"1A77B8","s":"_ZNK5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEEclES3_","s+":"7E"},{"a":"7F3926B14D1F","b":"7F3926976000","o":"19ED1F","s":"_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","s+":"15D"},{"a":"7F39256B8F2E","b":"7F392523C000","o":"47CF2E","s":"_ZN5mongo14future_details15SharedStateImplINS0_8FakeVoidEE12emplaceValueIJS2_EEEvDpOT_","s+":"8A"},{"a":"7F39256BFC12","b":"7F392523C000","o":"483C12","s":"_ZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE17propagateResultToEPNS0_15SharedStateImplIS2_EEENKUlOS2_E_clES7_","s+":"32"},{"a":"7F39256C008A","b":"7F392523C000","o":"48408A","s":"_ZN5mongo14future_details10FutureImplINS0_8FakeVoidEE11generalImplIZNOS3_17propagateResultToEPNS0_15SharedStateImplIS2_EEEUlOS2_E_ZNOS3_17propagateResultToES7_EUlONS_6StatusEE0_ZNOS3_17propagateResultToES7_EUlvE1_EEDaOT_OT0_OT1_","s+":"68"},{"a":"7F39256C0221","b":"7F392523C000","o":"484221","s":"_ZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE17propagateResultToEPNS0_15SharedStateImplIS2_EE","s+":"57"},{"a":"7F39256A6AF4","b":"7F392523C000","o":"46AAF4","s":"_ZNO5mongo10SemiFutureIvE17propagateResultToIRPNS_14future_details15SharedStateImplINS3_8FakeVoidEEEEEvOT_","s+":"3A"},{"a":"7F390D67BBDF","b":"7F390D52E000","o":"14DBDF","s":"_ZZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINS5_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_ENKUlvE1_clEvENUlPNS0_15SharedStateImplIS2_EESG_E_clESG_SG_","s+":"CB"},{"a":"7F390D68A630","b":"7F390D52E000","o":"15C630","s":"_ZZN5mongo14future_details10FutureImplINS0_8FakeVoidEE16makeContinuationIvZZNOS3_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINS6_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_ENKUlvE1_clEvEUlPNS0_15SharedStateImplIS2_EESH_E_EENS1_ISC_EEOT0_ENUlPNS0_15SharedStateBaseEE_clESN_","s+":"6A"},{"a":"7F390D6997B0","b":"7F390D52E000","o":"16B7B0","s":"_ZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE15callRegularVoidIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEvSt17integral_constantIbLb1EERSI_OS3_","s+":"2E"},{"a":"7F390D692A3D","b":"7F390D52E000","o":"164A3D","s":"_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEDaSJ_EN12SpecificImpl4callEOS3_","s+":"41"},{"a":"7F3926B1D7B8","b":"7F3926976000","o":"1A77B8","s":"_ZNK5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEEclES3_","s+":"7E"},{"a":"7F3926B14D1F","b":"7F3926976000","o":"19ED1F","s":"_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","s+":"15D"},{"a":"7F39256B9885","b":"7F392523C000","o":"47D885","s":"_ZN5mongo14future_details15SharedStateImplINS0_8FakeVoidEE12emplaceValueIJEEEvDpOT_","s+":"75"},{"a":"7F39256A2B2A","b":"7F392523C000","o":"466B2A","s":"_ZZN5mongo7PromiseIvE12emplaceValueIJELi0EEEvDpOT_ENKUlON5boost13intrusive_ptrINS_14future_details15SharedStateImplINS8_8FakeVoidEEEEEE_clESD_","s+":"24"},{"a":"7F39256BAECE","b":"7F392523C000","o":"47EECE","s":"_ZN5mongo7PromiseIvE7setImplIZNS1_12emplaceValueIJELi0EEEvDpOT_EUlON5boost13intrusive_ptrINS_14future_details15SharedStateImplINS9_8FakeVoidEEEEEE_EEvOT_","s+":"7A"},{"a":"7F39256A2B5C","b":"7F392523C000","o":"466B5C","s":"_ZN5mongo7PromiseIvE12emplaceValueIJELi0EEEvDpOT_","s+":"2E"},{"a":"7F390D67D30D","b":"7F390D52E000","o":"14F30D","s":"_ZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","s+":"116"},{"a":"7F390D67D8EC","b":"7F390D52E000","o":"14F8EC","s":"_ZZN5mongo12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS0_13HandleRequest16ExecutionContextEEENUlvE_clEv","s+":"50"},{"a":"7F390D67D96D","b":"7F390D52E000","o":"14F96D","s":"_ZN5mongo14future_details4callIRZNS_12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS2_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_NS0_8FakeVoidE","s+":"32"},{"a":"7F390D67D9C9","b":"7F390D52E000","o":"14F9C9","s":"_ZN5mongo14future_details12throwingCallIRZNS_12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS2_13HandleRequest16ExecutionContextEEEUlvE_JNS0_8FakeVoidEEEEDaOT_DpOT0_","s+":"42"},{"a":"7F390D67DA2C","b":"7F390D52E000","o":"14FA2C","s":"_ZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS5_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_ENKUlOS2_E_clESD_","s+":"48"},{"a":"7F390D67DF18","b":"7F390D52E000","o":"14FF18","s":"_ZN5mongo14future_details10FutureImplINS0_8FakeVoidEE11generalImplIZNOS3_4thenIZNS_12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS6_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_EUlOS2_E_ZNOS5_ISB_EEDaSD_EUlONS_6StatusEE0_ZNOS5_ISB_EEDaSD_EUlvE1_EEDaSD_OT0_OT1_","s+":"70"},{"a":"7F390D67E0C4","b":"7F390D52E000","o":"1500C4","s":"_ZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS5_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_","s+":"5A"},{"a":"7F390D67E163","b":"7F390D52E000","o":"150163","s":"_ZNO5mongo6FutureIvE4thenIZNS_12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS3_13HandleRequest16ExecutionContextEEEUlvE_Li0EEEDaOT_","s+":"51"},{"a":"7F390D67F02A","b":"7F390D52E000","o":"15102A","s":"_ZN5mongo12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","s+":"E3"},{"a":"7F390D680FA8","b":"7F390D52E000","o":"152FA8","s":"_ZN5mongo12_GLOBAL__N_115CommandOpRunner3runEv","s+":"4A"},{"a":"7F390D6838F3","b":"7F390D52E000","o":"1558F3","s":"_ZZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS0_5HooksESt14default_deleteIS8_EEENKUlvE_clEv","s+":"7F"},{"a":"7F390D683A45","b":"7F390D52E000","o":"155A45","s":"_ZN5mongo14future_details4callIRZNS_23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS2_5HooksESt14default_deleteISA_EEEUlvE_EEDaOT_NS0_8FakeVoidE","s+":"32"},{"a":"7F390D683AA1","b":"7F390D52E000","o":"155AA1","s":"_ZN5mongo14future_details12throwingCallIRZNS_23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS2_5HooksESt14default_deleteISA_EEEUlvE_JNS0_8FakeVoidEEEEDaOT_DpOT0_","s+":"42"},{"a":"7F390D683B05","b":"7F390D52E000","o":"155B05","s":"_ZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS5_5HooksESt14default_deleteISD_EEEUlvE_EEDaOT_ENKUlOS2_E_clESK_","s+":"49"},{"a":"7F390D68407E","b":"7F390D52E000","o":"15607E","s":"_ZN5mongo14future_details10FutureImplINS0_8FakeVoidEE11generalImplIZNOS3_4thenIZNS_23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS6_5HooksESt14default_deleteISE_EEEUlvE_EEDaOT_EUlOS2_E_ZNOS5_ISI_EEDaSK_EUlONS_6StatusEE0_ZNOS5_ISI_EEDaSK_EUlvE1_EEDaSK_OT0_OT1_","s+":"70"},{"a":"7F390D68422A","b":"7F390D52E000","o":"15622A","s":"_ZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS5_5HooksESt14default_deleteISD_EEEUlvE_EEDaOT_","s+":"5A"},{"a":"7F390D6842C9","b":"7F390D52E000","o":"1562C9","s":"_ZNO5mongo6FutureIvE4thenIZNS_23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS3_5HooksESt14default_deleteISB_EEEUlvE_Li0EEEDaOT_","s+":"51"},{"a":"7F390D685CFE","b":"7F390D52E000","o":"157CFE","s":"_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS0_5HooksESt14default_deleteIS8_EE","s+":"B6"},{"a":"7F3921B192EC","b":"7F3921ABC000","o":"5D2EC","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE","s+":"5E"},{"a":"7F3921A5FF1A","b":"7F3921951000","o":"10EF1A","s":"_ZN5mongo9transport19ServiceStateMachine4Impl14processMessageEv","s+":"274"},{"a":"7F3921A602F9","b":"7F3921951000","o":"10F2F9","s":"_ZZN5mongo9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEENKUlvE0_clEv","s+":"35"},{"a":"7F3921A60353","b":"7F3921951000","o":"10F353","s":"_ZN5mongo14future_details4callIRZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEEUlvE0_EEDaOT_NS0_8FakeVoidE","s+":"32"},{"a":"7F3921A603AF","b":"7F3921951000","o":"10F3AF","s":"_ZN5mongo14future_details12throwingCallIRZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEEUlvE0_JNS0_8FakeVoidEEEEDaOT_DpOT0_","s+":"42"},{"a":"7F3921A60413","b":"7F3921951000","o":"10F413","s":"_ZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEEUlvE0_EEDaOT_ENKUlOS2_E_clESE_","s+":"49"},{"a":"7F3921A60916","b":"7F3921951000","o":"10F916","s":"_ZN5mongo14future_details10FutureImplINS0_8FakeVoidEE11generalImplIZNOS3_4thenIZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEEUlvE0_EEDaOT_EUlOS2_E_ZNOS5_ISC_EEDaSE_EUlOS9_E0_ZNOS5_ISC_EEDaSE_EUlvE1_EEDaSE_OT0_OT1_","s+":"70"},{"a":"7F3921A60AC2","b":"7F3921951000","o":"10FAC2","s":"_ZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEEUlvE0_EEDaOT_","s+":"5A"},{"a":"7F3921A60B61","b":"7F3921951000","o":"10FB61","s":"_ZNO5mongo6FutureIvE4thenIZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEEUlvE0_Li0EEEDaOT_","s+":"51"}],"processInfo":{"mongodbVersion":"0.0.0","gitVersion":"unknown","compiledModules":[],"uname":{"sysname":"Linux","release":"5.4.19-100.fc30.x86_64","version":"#1 SMP Tue Feb 11 22:27:11 UTC 2020","machine":"x86_64"},"somap":[]}}}
      [MongoDFixture:job0] 2021-03-03T14:12:06.337-05:00 I  CONTROL  [conn48]   Frame: 0x7F3927AA8A2E mongo::stack_trace_detail::(anonymous namespace)::LibunwindStepIteration::LibunwindStepIteration(mongo::StackTraceSink&)+0x82
      [MongoDFixture:job0] 2021-03-03T14:12:06.337-05:00 I  CONTROL  [conn48]   Frame: 0x7F3927AA92E7 mongo::stack_trace_detail::(anonymous namespace)::printStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&, mongo::StackTraceSink*)+0x99
      [MongoDFixture:job0] 2021-03-03T14:12:06.337-05:00 I  CONTROL  [conn48]   Frame: 0x7F3927AA96A5 mongo::printStackTrace()+0x3C
      [MongoDFixture:job0] 2021-03-03T14:12:06.338-05:00 I  CONTROL  [conn48]   Frame: 0x7F3927A9D417 mongo::(anonymous namespace)::printSignalAndBacktrace(int)+0x6F
      [MongoDFixture:job0] 2021-03-03T14:12:06.338-05:00 I  CONTROL  [conn48]   Frame: 0x7F3927A9D56B abruptQuit+0x31
      [MongoDFixture:job0] 2021-03-03T14:12:06.339-05:00 I  CONTROL  [conn48]   Frame: 0x7F3927A9D5DB abruptQuitAction+0x1D
      [MongoDFixture:job0] 2021-03-03T14:12:06.339-05:00 I  CONTROL  [conn48]   Frame: 0x7F3926575C70 funlockfile+0x50
      [MongoDFixture:job0] 2021-03-03T14:12:06.339-05:00 I  CONTROL  [conn48]   Frame: 0x7F392628EE35 gsignal+0x145
      [MongoDFixture:job0] 2021-03-03T14:12:06.340-05:00 I  CONTROL  [conn48]   Frame: 0x7F3926279895 abort+0x127
      [MongoDFixture:job0] 2021-03-03T14:12:06.340-05:00 I  CONTROL  [conn48]   Frame: 0x7F3927A783C6 mongo::invariantFailedWithMsg(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, unsigned int)+0x210
      [MongoDFixture:job0] 2021-03-03T14:12:06.341-05:00 I  CONTROL  [conn48]   Frame: 0x7F390AAFAC3C void mongo::invariantWithContextAndLocation<bool, mongo::(anonymous namespace)::CmdInsert::Invocation::_performUnorderedTimeseriesWrites(mongo::OperationContext*, unsigned long, unsigned long, std::vector<mongo::BSONObj, std::allocator<mongo::BSONObj> >*, boost::optional<mongo::repl::OpTime>*, boost::optional<mongo::OID>*, boost::optional<std::vector<unsigned long, std::allocator<unsigned long> > > const&) const::{lambda()#2}>(bool const&, char const*, mongo::(anonymous namespace)::CmdInsert::Invocation::_performUnorderedTimeseriesWrites(mongo::OperationContext*, unsigned long, unsigned long, std::vector<mongo::BSONObj, std::allocator<mongo::BSONObj> >*, boost::optional<mongo::repl::OpTime>*, boost::optional<mongo::OID>*, boost::optional<std::vector<unsigned long, std::allocator<unsigned long> > > const&) const::{lambda()#2}&&, char const*, unsigned int)+0x67
      [MongoDFixture:job0] 2021-03-03T14:12:06.341-05:00 I  CONTROL  [conn48]   Frame: 0x7F390AAF55B1 mongo::(anonymous namespace)::CmdInsert::Invocation::_performUnorderedTimeseriesWrites(mongo::OperationContext*, unsigned long, unsigned long, std::vector<mongo::BSONObj, std::allocator<mongo::BSONObj> >*, boost::optional<mongo::repl::OpTime>*, boost::optional<mongo::OID>*, boost::optional<std::vector<unsigned long, std::allocator<unsigned long> > > const&) const+0x43B
      [MongoDFixture:job0] 2021-03-03T14:12:06.341-05:00 I  CONTROL  [conn48]   Frame: 0x7F390AAF5AF2 mongo::(anonymous namespace)::CmdInsert::Invocation::_performTimeseriesWritesSubset(mongo::OperationContext*, unsigned long, unsigned long, std::vector<mongo::BSONObj, std::allocator<mongo::BSONObj> >*, boost::optional<mongo::repl::OpTime>*, boost::optional<mongo::OID>*) const+0xA0
      [MongoDFixture:job0] 2021-03-03T14:12:06.342-05:00 I  CONTROL  [conn48]   Frame: 0x7F390AAF5E50 mongo::(anonymous namespace)::CmdInsert::Invocation::_performTimeseriesWrites(mongo::OperationContext*, mongo::write_ops::InsertReply*) const+0x212
      [MongoDFixture:job0] 2021-03-03T14:12:06.342-05:00 I  CONTROL  [conn48]   Frame: 0x7F390AAF33D8 mongo::(anonymous namespace)::CmdInsert::Invocation::typedRun(mongo::OperationContext*)+0xDA
      

        1. insert_ttl_timeseries.js
          8 kB
          Louis Williams

            Assignee:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: