-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 5.0.15
-
Component/s: None
-
None
-
Storage Execution
-
ALL
-
When running db.killOp() on a SECONDARY server to kill an ongoing index build, the database crashes with an assertion:
{"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"555656425F25","b":"555652533000","o":"3EF2F25","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.361","s+":"215"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"5556564289A9","b":"555652533000","o":"3EF59A9","s":"_ZN5mongo15printStackTraceEv","s+":"29"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"555656420DC6","b":"555652533000","o":"3EEDDC6","s":"abruptQuit","s+":"66"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"7FE510E99630","b":"7FE510E8A000","o":"F630","s":"_L_unlock_13","s+":"34"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"7FE510AF2387","b":"7FE510ABC000","o":"36387","s":"gsignal","s+":"37"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"7FE510AF3A78","b":"7FE510ABC000","o":"37A78","s":"abort","s+":"148"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"555653916865","b":"555652533000","o":"13E3865","s":"_ZN5mongo35fassertFailedWithStatusWithLocationEiRKNS_6StatusEPKcj","s+":"144"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"555653644087","b":"555652533000","o":"1111087","s":"_ZN5mongo22IndexBuildsCoordinator28_cleanUpTwoPhaseAfterFailureEPNS_16OperationContextERKNS_13CollectionPtrESt10shared_ptrINS_19ReplIndexBuildStateEERKNS0_17IndexBuildOptionsERKNS_6StatusE.cold.2338","s+":"19"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"555654A1ACBE","b":"555652533000","o":"24E7CBE","s":"_ZN5mongo22IndexBuildsCoordinator19_runIndexBuildInnerEPNS_16OperationContextESt10shared_ptrINS_19ReplIndexBuildStateEERKNS0_17IndexBuildOptionsERKN5boost8optionalINS_15ResumeIndexInfoEEE","s+":"5BE"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"555654A1B36B","b":"555652533000","o":"24E836B","s":"_ZN5mongo22IndexBuildsCoordinator14_runIndexBuildEPNS_16OperationContextERKNS_4UUIDERKNS0_17IndexBuildOptionsERKN5boost8optionalINS_15ResumeIndexInfoEEE","s+":"1FB"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"5556547214F1","b":"555652533000","o":"21EE4F1","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_28IndexBuildsCoordinatorMongod16_startIndexBuildEPNS_16OperationContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4UUIDERKSt6vectorINS_7BSONObjESaISG_EERKSE_NS_18IndexBuildProtocolENS_22IndexBuildsCoordinator17IndexBuildOptionsERKN5boost8optionalINS_15ResumeIndexInfoEEEEUlT_E5_EEDaOSW_EN12SpecificImpl4callEOS1_","s+":"371"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"5556561DFF65","b":"555652533000","o":"3CACF65","s":"_ZN5mongo10ThreadPool4Impl10_doOneTaskEPSt11unique_lockINS_12latch_detail5LatchEE","s+":"135"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"5556561E17BB","b":"555652533000","o":"3CAE7BB","s":"_ZN5mongo10ThreadPool4Impl13_consumeTasksEv","s+":"8B"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"5556561E2CDC","b":"555652533000","o":"3CAFCDC","s":"_ZN5mongo10ThreadPool4Impl17_workerThreadBodyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE","s+":"26C"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"5556561E3280","b":"555652533000","o":"3CB0280","s":"_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN5mongo4stdx6threadC4IZNS3_10ThreadPool4Impl25_startWorkerThread_inlockEvEUlvE2_JELi0EEET_DpOT0_EUlvE_EEEEE6_M_runEv","s+":"60"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"5556565D12BF","b":"555652533000","o":"409E2BF","s":"execute_native_thread_routine","s+":"F"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"7FE510E91EA5","b":"7FE510E8A000","o":"7EA5","s":"start_thread","s+":"C5"}}} {"t":{"$date":"2024-01-11T12:43:03.584-05:00"},"s":"I", "c":"CONTROL", "id":31445, "ctx":"IndexBuildsCoordinatorMongod-3","msg":"Frame","attr":{"frame":{"a":"7FE510BBA9FD","b":"7FE510ABC000","o":"FE9FD","s":"clone","s+":"6D"}}}