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

Fix unit-tests to run with lock-free reads enabled

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2021-06-14, Execution Team 2021-07-12, Execution Team 2021-07-26, Execution Team 2021-08-09, Execution Team 2021-08-23
    • 150

      Three unit tests are currently running with LFR explicitly turned off. They crash otherwise in listIndexes via DBDirectClient. This code path

      These are a few of the tests with invariant backtraces when LFR is turned on for the unit tests:
      ReplacingExistingOutputCollectionPreservesIndexes

      "Invariant failure","attr":{"expr":"opCtx->lockState()->isCollectionLockedForMode(nss, MODE_IS)","file":"src/mongo/db/catalog/list_indexes.cpp","line":69}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A87275C4","b":"7F16A803D000","o":"6EA5C4","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE","s+":"354"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A8728506","b":"7F16A803D000","o":"6EB506","s":"_ZN5mongo15printStackTraceEv","s+":"C6"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A8715675","b":"7F16A803D000","o":"6D8675","s":"abruptQuit","s+":"105"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A5AE7040","b":"7F16A5AA8000","o":"3F040","s":"killpg","s+":"40"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A5AE6FB7","b":"7F16A5AA8000","o":"3EFB7","s":"gsignal","s+":"C7"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A5AE8921","b":"7F16A5AA8000","o":"40921","s":"abort","s+":"141"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A86CB510","b":"7F16A803D000","o":"68E510","s":"_ZN5mongo15invariantFailedEPKcS1_j","s+":"3A0"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16BB434CB0","b":"7F16BB1D9000","o":"25BCB0","s":"_ZN5mongo17listIndexesInLockB5cxx11EPNS_16OperationContextERKNS_13CollectionPtrERKNS_15NamespaceStringEN5boost8optionalIbEE","s+":"580"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16BB43430E","b":"7F16BB1D9000","o":"25B30E","s":"_ZN5mongo11listIndexesB5cxx11EPNS_16OperationContextERKNS_21NamespaceStringOrUUIDEN5boost8optionalIbEE","s+":"20E"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16BB43571C","b":"7F16BB1D9000","o":"25C71C","s":"_ZN5mongo29listIndexesEmptyListIfMissingB5cxx11EPNS_16OperationContextERKNS_21NamespaceStringOrUUIDEN5boost8optionalIbEE","s+":"EC"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16989F1624","b":"7F16988FD000","o":"F4624","s":"_ZN5mongo30NonShardServerProcessInterface13getIndexSpecsB5cxx11EPNS_16OperationContextERKNS_15NamespaceStringEb","s+":"204"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16B11805DD","b":"7F16B0998000","o":"7E85DD","s":"_ZN5mongo17DocumentSourceOut10initializeEv","s+":"CED"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16B1189391","b":"7F16B0998000","o":"7F1391","s":"_ZN5mongo20DocumentSourceWriterINS_7BSONObjEE9doGetNextEv","s+":"471"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16B0F91A7E","b":"7F16B0998000","o":"5F9A7E","s":"_ZN5mongo14DocumentSource7getNextEv","s+":"38E"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16B1295039","b":"7F16B0998000","o":"8FD039","s":"_ZN5mongo8Pipeline7getNextEv","s+":"1C9"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16BA2B75CE","b":"7F16B9788000","o":"B2F5CE","s":"_ZN5mongo20PlanExecutorPipeline11_tryGetNextEv","s+":"19E"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16BA2B708D","b":"7F16B9788000","o":"B2F08D","s":"_ZN5mongo20PlanExecutorPipeline8_getNextEv","s+":"8D"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16BA2B6B92","b":"7F16B9788000","o":"B2EB92","s":"_ZN5mongo20PlanExecutorPipeline15getNextDocumentEPNS_8DocumentEPNS_8RecordIdE","s+":"1B2"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16BA2B6114","b":"7F16B9788000","o":"B2E114","s":"_ZN5mongo20PlanExecutorPipeline7getNextEPNS_7BSONObjEPNS_8RecordIdE","s+":"1E4"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F1698BDF9FB","b":"7F1698BC3000","o":"1C9FB","s":"_ZN5mongo14map_reduce_agg23runAggregationMapReduceEPNS_16OperationContextERKNS_7BSONObjERNS_14BSONObjBuilderEN5boost8optionalINS_7explain13VerbosityEnumEEE","s+":"B7B"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16B2DE5C89","b":"7F16B2AA9000","o":"33CC89","s":"_ZN5mongo12_GLOBAL__N_116MapReduceCommand9errmsgRunEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERS9_RNS_14BSONObjBuilderE","s+":"109"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A9D0100A","b":"7F16A9BE5000","o":"11C00A","s":"_ZN5mongo23ErrmsgCommandDeprecated3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE","s+":"19A"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16B3C38645","b":"7F16B3841000","o":"3F7645","s":"_ZN5mongo12BasicCommand19runWithReplyBuilderEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjEPNS_3rpc21ReplyBuilderInterfaceE","s+":"255"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A9D46CE0","b":"7F16A9BE5000","o":"161CE0","s":"_ZN5mongo37BasicCommandWithReplyBuilderInterface10Invocation3runEPNS_16OperationContextEPNS_3rpc21ReplyBuilderInterfaceE","s+":"490"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A9CE9F01","b":"7F16A9BE5000","o":"104F01","s":"_ZN5mongo14CommandHelpers18runCommandDirectlyEPNS_16OperationContextERKNS_12OpMsgRequestE","s+":"3D1"}}
      [thread1] "Frame","attr":{"frame":{"a":"55607FCB6FFC","b":"55607FAE2000","o":"1D4FFC","s":"_ZN5mongo12_GLOBAL__N_120MapReduceCommandTest11_runCommandENS_10StringDataES2_","s+":"62C"}}
      [thread1] "Frame","attr":{"frame":{"a":"55607FCBFB7A","b":"55607FAE2000","o":"1DDB7A","s":"_ZN5mongo12_GLOBAL__N_195UnitTest_SuiteNameMapReduceCommandTestTestNameReplacingExistingOutputCollectionPreservesIndexes7_doTestEv","s+":"169A"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16B43C3450","b":"7F16B4303000","o":"C0450","s":"_ZN5mongo8unittest4Test3runEv","s+":"1E0"}}
      [thread1] "Frame","attr":{"frame":{"a":"55607FCBDFC7","b":"55607FAE2000","o":"1DBFC7","s":"_ZNSt17_Function_handlerIFvvEZN5mongo8unittest4Test17RegistrationAgentINS1_12_GLOBAL__N_195UnitTest_SuiteNameMapReduceCommandTestTestNameReplacingExistingOutputCollectionPreservesIndexesEEC1ENS1_10StringDataES8_S8_EUlvE_E9_M_invokeERKSt9_Any_data","s+":"267"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16B43C65F0","b":"7F16B4303000","o":"C35F0","s":"_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_i","s+":"BC0"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16B43CA40F","b":"7F16B4303000","o":"C740F","s":"_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_SE_i","s+":"CAF"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16BB7A0B19","b":"7F16BB792000","o":"EB19","s":"main","s+":"B89"}}
      [thread1] "Frame","attr":{"frame":{"a":"7F16A5AC9BF7","b":"7F16A5AA8000","o":"21BF7","s":"__libc_start_main","s+":"E7"}}
      [thread1] "Frame","attr":{"frame":{"a":"55607FB8B43A","b":"55607FAE2000","o":"A943A","s":"_start","s+":"2A"}}
      

      ResumeFromEmptyCollectionMissingAllSecondaryIndexes

      "Invariant failure","attr":{"expr":"opCtx->lockState()->isCollectionLockedForMode(nss, MODE_IS)","file":"src/mongo/db/catalog/list_indexes.cpp","line":69}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F816EC3A5C4","b":"7F816E550000","o":"6EA5C4","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE","s+":"354"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F816EC3B506","b":"7F816E550000","o":"6EB506","s":"_ZN5mongo15printStackTraceEv","s+":"C6"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F816EC28675","b":"7F816E550000","o":"6D8675","s":"abruptQuit","s+":"105"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F816BFFA040","b":"7F816BFBB000","o":"3F040","s":"killpg","s+":"40"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F816BFF9FB7","b":"7F816BFBB000","o":"3EFB7","s":"gsignal","s+":"C7"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F816BFFB921","b":"7F816BFBB000","o":"40921","s":"abort","s+":"141"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F816EBDE510","b":"7F816E550000","o":"68E510","s":"_ZN5mongo15invariantFailedEPKcS1_j","s+":"3A0"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F81801C5CB0","b":"7F817FF6A000","o":"25BCB0","s":"_ZN5mongo17listIndexesInLockB5cxx11EPNS_16OperationContextERKNS_13CollectionPtrERKNS_15NamespaceStringEN5boost8optionalIbEE","s+":"580"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815CC67277","b":"7F815C6FA000","o":"56D277","s":"_ZN5mongo12_GLOBAL__N_132getIndexSpecsWithNamespaceStringB5cxx11EPNS_16OperationContextERKNS_11ListIndexesE","s+":"687"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815CC62ABD","b":"7F815C6FA000","o":"568ABD","s":"_ZN5mongo12_GLOBAL__N_114CmdListIndexes10Invocation8typedRunEPNS_16OperationContextE","s+":"3CD"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815CC616F3","b":"7F815C6FA000","o":"5676F3","s":"_ZN5mongo12TypedCommandINS_12_GLOBAL__N_114CmdListIndexesEE14InvocationBase3runEPNS_16OperationContextEPNS_3rpc21ReplyBuilderInterfaceE","s+":"273"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8170201898","b":"7F81700F8000","o":"109898","s":"_ZN5mongo14CommandHelpers20runCommandInvocationEPNS_16OperationContextERKNS_12OpMsgRequestEPNS_17CommandInvocationEPNS_3rpc21ReplyBuilderInterfaceE","s+":"308"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F817020128B","b":"7F81700F8000","o":"10928B","s":"_ZN5mongo19makeReadyFutureWithIZNS_14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES2_INS_17CommandInvocationEENS_9transport15ServiceExecutor14ThreadingModelEE3$_0Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultIOT_JEE4typeEE4typeEEESG_","s+":"11B"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F81701FF0C2","b":"7F81700F8000","o":"1070C2","s":"_ZN5mongo14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEENS_9transport15ServiceExecutor14ThreadingModelE","s+":"2F2"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA669C3","b":"7F815F94D000","o":"1199C3","s":"_ZN5mongo12_GLOBAL__N_120runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEE","s+":"303"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA7194C","b":"7F815F94D000","o":"12494C","s":"_ZN5mongo19makeReadyFutureWithIZNS_12_GLOBAL__N_113InvokeCommand3runEvE3$_4Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultIOT_JEE4typeEE4typeEEES9_","s+":"32C"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA6EA5C","b":"7F815F94D000","o":"121A5C","s":"_ZN5mongo19makeReadyFutureWithIZNOS_11future_util10AsyncStateINS_12_GLOBAL__N_113InvokeCommandEE13thenWithStateIZNS3_14RunCommandImpl11_runCommandEvE4$_13EEDaOT_EUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultISA_JEE4typeEE4typeEEESA_","s+":"25C"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA5C11B","b":"7F815F94D000","o":"10F11B","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl11_runCommandEv","s+":"57B"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA5B995","b":"7F815F94D000","o":"10E995","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl8_runImplEv","s+":"2E5"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA7FCCA","b":"7F815F94D000","o":"132CCA","s":"_ZN5mongo19makeReadyFutureWithIZNS_12_GLOBAL__N_114RunCommandImpl3runEvEUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultIOT_JEE4typeEE4typeEEES9_","s+":"7AA"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA7CFC0","b":"7F815F94D000","o":"12FFC0","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl3runEv","s+":"1B0"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA8A4F0","b":"7F815F94D000","o":"13D4F0","s":"_ZN5mongo19makeReadyFutureWithIZNOS_11future_util10AsyncStateINS_12_GLOBAL__N_114RunCommandImplEE13thenWithStateIZZNS3_19ExecCommandDatabase12_commandExecEvENK4$_18clEvEUlPT_E0_EEDaOS9_EUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultISC_JEE4typeEE4typeEEESC_","s+":"230"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA4EA4B","b":"7F815F94D000","o":"101A4B","s":"_ZN5mongo12_GLOBAL__N_119ExecCommandDatabase12_commandExecEv","s+":"B4B"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA45CBE","b":"7F815F94D000","o":"F8CBE","s":"_ZN5mongo19makeReadyFutureWithIZNS_12_GLOBAL__N_119ExecCommandDatabase3runEvEUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultIOT_JEE4typeEE4typeEEES9_","s+":"DE"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA43206","b":"7F815F94D000","o":"F6206","s":"_ZN5mongo19makeReadyFutureWithIZNOS_11future_util10AsyncStateINS_12_GLOBAL__N_119ExecCommandDatabaseEE13thenWithStateIZZNS3_14executeCommandESt10shared_ptrINS3_13HandleRequest16ExecutionContextEEEN4$_25clEvEUlPT_E_EEDaOSC_EUlvE_Li0EEENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultISF_JEE4typeEE4typeEEESF_","s+":"256"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA40DFF","b":"7F815F94D000","o":"F3DFF","s":"_ZN5mongo14future_details4callIRZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINS2_13HandleRequest16ExecutionContextEEE4$_25EEDaOT_NS0_8FakeVoidE","s+":"24F"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA9D725","b":"7F815F94D000","o":"150725","s":"_ZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE15callRegularVoidIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEE4$_25EEDaOT_ENKUlvE_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEvSt17integral_constantIbLb1EERSI_OS3_","s+":"495"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8180588F6F","b":"7F8180488000","o":"100F6F","s":"_ZNK5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEEclES3_","s+":"19F"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8180588625","b":"7F8180488000","o":"100625","s":"_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","s+":"435"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F817CD33F8D","b":"7F817C8E1000","o":"452F8D","s":"_ZN5mongo14future_details10FutureImplINS0_8FakeVoidEE11generalImplIZNOS3_17propagateResultToEPNS0_15SharedStateImplIS2_EEEUlOS2_E_ZNOS3_17propagateResultToES7_EUlONS_6StatusEE_ZNOS3_17propagateResultToES7_EUlvE_EEDaOT_OT0_OT1_","s+":"35D"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F81739710E6","b":"7F8173904000","o":"6D0E6","s":"_ZNO5mongo10SemiFutureIvE17propagateResultToIRPNS_14future_details15SharedStateImplINS3_8FakeVoidEEEEEvOT_","s+":"1A6"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA4001C","b":"7F815F94D000","o":"F301C","s":"_ZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE15callRegularVoidIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEE4$_24EEDaOT_ENKUlvE_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEvSt17integral_constantIbLb1EERSI_OS3_","s+":"48C"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8180588F6F","b":"7F8180488000","o":"100F6F","s":"_ZNK5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEEclES3_","s+":"19F"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8180588625","b":"7F8180488000","o":"100625","s":"_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","s+":"435"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8178FDFCD8","b":"7F8178F6E000","o":"71CD8","s":"_ZN5mongo7PromiseIvE7setImplIZNS1_12emplaceValueIJELi0EEEvDpOT_EUlON5boost13intrusive_ptrINS_14future_details15SharedStateImplINS9_8FakeVoidEEEEEE_EEvOT_","s+":"128"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA3AE93","b":"7F815F94D000","o":"EDE93","s":"_ZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","s+":"2223"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA382D7","b":"7F815F94D000","o":"EB2D7","s":"_ZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS5_13HandleRequest16ExecutionContextEEE4$_27EEDaOT_ENKUlOS2_E_clESD_","s+":"137"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA33B2D","b":"7F815F94D000","o":"E6B2D","s":"_ZN5mongo12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","s+":"7CD"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA33265","b":"7F815F94D000","o":"E6265","s":"_ZN5mongo12_GLOBAL__N_115CommandOpRunner3runEv","s+":"135"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F815FA29568","b":"7F815F94D000","o":"DC568","s":"_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS0_5HooksESt14default_deleteIS8_EE","s+":"F78"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F816327843B","b":"7F8163254000","o":"2443B","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE","s+":"15B"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F817D7D6B11","b":"7F817D7B2000","o":"24B11","s":"_ZN5mongo12_GLOBAL__N_121loopbackBuildResponseEPNS_16OperationContextEPNS_9LastErrorERNS_7MessageE","s+":"721"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F817D7D627F","b":"7F817D7B2000","o":"2427F","s":"_ZN5mongo14DBDirectClient4callERNS_7MessageES2_bPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE","s+":"1AF"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8173A50A42","b":"7F81739D8000","o":"78A42","s":"_ZN5mongo12DBClientBase20runCommandWithTargetENS_12OpMsgRequestE","s+":"4C2"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8173A5241A","b":"7F81739D8000","o":"7A41A","s":"_ZN5mongo12DBClientBase20runCommandWithTargetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_7BSONObjERS9_i","s+":"27A"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8173A4D658","b":"7F81739D8000","o":"75658","s":"_ZN5mongo12DBClientBase10runCommandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_7BSONObjERS9_i","s+":"188"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8173A6A279","b":"7F81739D8000","o":"92279","s":"_ZN5mongo12DBClientBase14_getIndexSpecsB5cxx11ERKNS_21NamespaceStringOrUUIDERKNS_7BSONObjEi","s+":"359"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8173A69D2B","b":"7F81739D8000","o":"91D2B","s":"_ZN5mongo12DBClientBase13getIndexSpecsB5cxx11ERKNS_21NamespaceStringOrUUIDEbi","s+":"15B"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F81805BC682","b":"7F8180488000","o":"134682","s":"_ZN5mongo4repl22TenantCollectionCloner21createCollectionStageEv","s+":"1912"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F81805C09F2","b":"7F8180488000","o":"1389F2","s":"_ZN5mongo4repl22TenantCollectionCloner27TenantCollectionClonerStage3runEv","s+":"1B2"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8179E0449D","b":"7F8179DC8000","o":"3C49D","s":"_ZN5mongo4repl10BaseCloner19runStageWithRetriesEPNS1_15BaseClonerStageE","s+":"F2D"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8179E017CB","b":"7F8179DC8000","o":"397CB","s":"_ZN5mongo4repl10BaseCloner8runStageEPNS1_15BaseClonerStageE","s+":"9BB"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8179DFFA1F","b":"7F8179DC8000","o":"37A1F","s":"_ZN5mongo4repl10BaseCloner9runStagesEv","s+":"53F"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8179DFE39D","b":"7F8179DC8000","o":"3639D","s":"_ZN5mongo4repl10BaseCloner3runEv","s+":"35D"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"563CB96A4A5E","b":"563CB9193000","o":"511A5E","s":"_ZN5mongo4repl103UnitTest_SuiteNameTenantCollectionClonerTestTestNameResumeFromEmptyCollectionMissingAllSecondaryIndexes7_doTestEv","s+":"1B0E"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8178DC0450","b":"7F8178D00000","o":"C0450","s":"_ZN5mongo8unittest4Test3runEv","s+":"1E0"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"563CB96E6040","b":"563CB9193000","o":"553040","s":"_ZZN5mongo8unittest4Test17RegistrationAgentINS_4repl103UnitTest_SuiteNameTenantCollectionClonerTestTestNameResumeFromEmptyCollectionMissingAllSecondaryIndexesEEC1ENS_10StringDataES6_S6_ENKUlvE_clEv","s+":"240"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8178DC35F0","b":"7F8178D00000","o":"C35F0","s":"_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_i","s+":"BC0"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8178DC740F","b":"7F8178D00000","o":"C740F","s":"_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_SE_i","s+":"CAF"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F8180B69B19","b":"7F8180B5B000","o":"EB19","s":"main","s+":"B89"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"7F816BFDCBF7","b":"7F816BFBB000","o":"21BF7","s":"__libc_start_main","s+":"E7"}}
      [ClonerTest] "Frame","attr":{"frame":{"a":"563CB940A78A","b":"563CB9193000","o":"27778A","s":"_start","s+":"2A"}}
      

      CreateLocalReshardingCollectionBasic

      "Invariant failure","attr":{"expr":"opCtx->lockState()->isCollectionLockedForMode(nss, MODE_IS)","file":"src/mongo/db/catalog/list_indexes.cpp","line":69}
      [main] "Frame","attr":{"frame":{"a":"7FDF7184EB79","b":"7FDF7165A000","o":"1F4B79","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.357","s+":"219"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF71851609","b":"7FDF7165A000","o":"1F7609","s":"_ZN5mongo15printStackTraceEv","s+":"29"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF71849C3F","b":"7FDF7165A000","o":"1EFC3F","s":"abruptQuit","s+":"6F"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6FB36D80","b":"7FDF6FB24000","o":"12D80","s":"funlockfile","s+":"50"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6F41593F","b":"7FDF6F3DE000","o":"3793F","s":"gsignal","s+":"10F"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6F3FFC95","b":"7FDF6F3DE000","o":"21C95","s":"abort","s+":"127"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF71773CDB","b":"7FDF7165A000","o":"119CDB","s":"_ZN5mongo15invariantFailedEPKcS1_j","s+":"F7"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF758F6EB4","b":"7FDF758CF000","o":"27EB4","s":"_ZN5mongo17listIndexesInLockB5cxx11EPNS_16OperationContextERKNS_13CollectionPtrERKNS_15NamespaceStringEN5boost8optionalIbEE.cold.617","s+":"12C"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6CDE558F","b":"7FDF6CD05000","o":"E058F","s":"_ZN5mongo12_GLOBAL__N_132getIndexSpecsWithNamespaceStringEPNS_16OperationContextERKNS_11ListIndexesE","s+":"CF"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6CDE6006","b":"7FDF6CD05000","o":"E1006","s":"_ZN5mongo12TypedCommandINS_12_GLOBAL__N_114CmdListIndexesEE14InvocationBase3runEPNS_16OperationContextEPNS_3rpc21ReplyBuilderInterfaceE","s+":"56"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF72B09A0F","b":"7FDF72AD2000","o":"37A0F","s":"_ZN5mongo14CommandHelpers20runCommandInvocationEPNS_16OperationContextERKNS_12OpMsgRequestEPNS_17CommandInvocationEPNS_3rpc21ReplyBuilderInterfaceE","s+":"7F"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF72B0F0DE","b":"7FDF72AD2000","o":"3D0DE","s":"_ZN5mongo14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEENS_9transport15ServiceExecutor14ThreadingModelE","s+":"1BE"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D183FD7","b":"7FDF6D15D000","o":"26FD7","s":"_ZN5mongo12_GLOBAL__N_120runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEE","s+":"97"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D19A291","b":"7FDF6D15D000","o":"3D291","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl11_runCommandEv","s+":"2C1"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D19B8BB","b":"7FDF6D15D000","o":"3E8BB","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl8_runImplEv","s+":"8B"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D188B6C","b":"7FDF6D15D000","o":"2BB6C","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl3runEv","s+":"13C"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D18B5DD","b":"7FDF6D15D000","o":"2E5DD","s":"_ZN5mongo12_GLOBAL__N_119ExecCommandDatabase12_commandExecEv","s+":"33D"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D195808","b":"7FDF6D15D000","o":"38808","s":"_ZZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEEENUlvE0_clEv","s+":"468"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D198827","b":"7FDF6D15D000","o":"3B827","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+":"67"}}
      [main] "Frame","attr":{"frame":{"a":"560B544B5AF9","b":"560B54149000","o":"36CAF9","s":"_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","s+":"179"}}
      [main] "Frame","attr":{"frame":{"a":"560B545BB57E","b":"560B54149000","o":"47257E","s":"_ZN5mongo14future_details10FutureImplINS0_8FakeVoidEE11generalImplIZNOS3_17propagateResultToEPNS0_15SharedStateImplIS2_EEEUlOS2_E_ZNOS3_17propagateResultToES7_EUlONS_6StatusEE0_ZNOS3_17propagateResultToES7_EUlvE1_EEDaOT_OT0_OT1_","s+":"1DE"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D18E4D3","b":"7FDF6D15D000","o":"314D3","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+":"93"}}
      [main] "Frame","attr":{"frame":{"a":"560B544B5AF9","b":"560B54149000","o":"36CAF9","s":"_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","s+":"179"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D1968B7","b":"7FDF6D15D000","o":"398B7","s":"_ZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","s+":"607"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D197531","b":"7FDF6D15D000","o":"3A531","s":"_ZN5mongo12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","s+":"271"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D198786","b":"7FDF6D15D000","o":"3B786","s":"_ZN5mongo12_GLOBAL__N_115CommandOpRunner3runEv","s+":"36"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6D191207","b":"7FDF6D15D000","o":"34207","s":"_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS0_5HooksESt14default_deleteIS8_EE","s+":"337"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6EC2DDD3","b":"7FDF6EC24000","o":"9DD3","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE","s+":"53"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF745F820D","b":"7FDF745EC000","o":"C20D","s":"_ZN5mongo12_GLOBAL__N_121loopbackBuildResponseEPNS_16OperationContextEPNS_9LastErrorERNS_7MessageE","s+":"40D"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF745F8D88","b":"7FDF745EC000","o":"CD88","s":"_ZN5mongo14DBDirectClient4callERNS_7MessageES2_bPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE","s+":"38"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF727A768E","b":"7FDF7278D000","o":"1A68E","s":"_ZN5mongo12DBClientBase20runCommandWithTargetENS_12OpMsgRequestE","s+":"10E"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF727A7D64","b":"7FDF7278D000","o":"1AD64","s":"_ZN5mongo12DBClientBase20runCommandWithTargetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_7BSONObjERS9_i","s+":"94"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF727A7E78","b":"7FDF7278D000","o":"1AE78","s":"_ZN5mongo12DBClientBase10runCommandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_7BSONObjERS9_i","s+":"58"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF727AD674","b":"7FDF7278D000","o":"20674","s":"_ZN5mongo12DBClientBase14_getIndexSpecsB5cxx11ERKNS_21NamespaceStringOrUUIDERKNS_7BSONObjEi","s+":"104"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF727ADFB5","b":"7FDF7278D000","o":"20FB5","s":"_ZN5mongo12DBClientBase13getIndexSpecsB5cxx11ERKNS_21NamespaceStringOrUUIDEbi","s+":"1D5"}}
      [main] "Frame","attr":{"frame":{"a":"560B54584AE2","b":"560B54149000","o":"43BAE2","s":"_ZN5mongo12_GLOBAL__N_133RecipientServiceExternalStateTest26verifyCollectionAndIndexesERKNS_15NamespaceStringENS_4UUIDERKSt6vectorINS_7BSONObjESaIS7_EE","s+":"5C2"}}
      [main] "Frame","attr":{"frame":{"a":"560B54585CAE","b":"560B54149000","o":"43CCAE","s":"_ZN5mongo12_GLOBAL__N_195UnitTest_SuiteNameRecipientServiceExternalStateTestTestNameCreateLocalReshardingCollectionBasic7_doTestEv","s+":"CCE"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF75069540","b":"7FDF7503D000","o":"2C540","s":"_ZN5mongo8unittest4Test3runEv","s+":"20"}}
      [main] "Frame","attr":{"frame":{"a":"560B54580A7C","b":"560B54149000","o":"437A7C","s":"_ZZN5mongo8unittest4Test17RegistrationAgentINS_12_GLOBAL__N_195UnitTest_SuiteNameRecipientServiceExternalStateTestTestNameCreateLocalReshardingCollectionBasicEEC4ENS_10StringDataES6_S6_ENKUlvE_clEv.isra.1148","s+":"8C"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF7506B4BC","b":"7FDF7503D000","o":"2E4BC","s":"_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_i","s+":"2BC"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF7506BD76","b":"7FDF7503D000","o":"2ED76","s":"_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_SE_i","s+":"2D6"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF768E481D","b":"7FDF768E0000","o":"481D","s":"main","s+":"84D"}}
      [main] "Frame","attr":{"frame":{"a":"7FDF6F401813","b":"7FDF6F3DE000","o":"23813","s":"__libc_start_main","s+":"F3"}}
      [main] "Frame","attr":{"frame":{"a":"560B5439E17E","b":"560B54149000","o":"25517E","s":"_start","s+":"2E"}}
      

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: