[SERVER-77387] FCV Down+Index build results in crash in jstests/core/query/array/arrayfind7.js Created: 23/May/23  Updated: 31/Oct/23  Resolved: 21/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Adi Zaimi Assignee: Yujin Kang Park
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-16214 Investigate changes in SERVER-77387: ... Closed
Problem/Incident
Related
related to SERVER-82610 FCV downgrade index build blocking fl... Closed
related to SERVER-78315 Complete TODO listed in SERVER-77387 Closed
is related to SERVER-69212 Allow multiple feature-flag checks wi... Open
Assigned Teams:
Storage Execution
Backwards Compatibility: Minor Change
Operating System: ALL
Sprint: Execution EMEA Team 2023-06-26
Participants:
Linked BF Score: 120

 Description   

Index build results in crash when FCV downgrade (7.1 -> 7.0) is run at the same time.
For test jstests/core/query/array/arrayfind7.js 

See https://spruce.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_fcv_upgrade_downgrade_jscore_passthrough_4_linux_enterprise_patch_dcd8c050fb807cd6a30f1c3f833f4be23c22fdcf_646d22d432f417862b9fb2ce_23_05_23_20_32_23/tests?execution=0&sortBy=STATUS&sortDir=ASC

 

Stack trace of evergreen run https://parsley.mongodb.com/resmoke/3141f2e07e281c23e29da519fa69318c/test/17609fe488edc197fa1c099ed8208204?bookmarks=0,10869&filters=100js_test%253Aarrayfind7&shareLine=0 :

 
[j2:prim] | 2023-05-19T18:47:45.551+00:00 I NETWORK 6788700 [conn199] "Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":137}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31380 [conn198] "BACKTRACE","attr":{"bt":{"backtrace":[

{"a":"7F6CA9827EB8","b":"7F6CA95F1000","o":"236EB8","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_117getStackTraceImplERKNS1_7OptionsE.constprop.0","C":"mongo::stack_trace_detail::(anonymous namespace)::getStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&) [clone .constprop.0]","s+":"228"}

,{"a":"7F6CA9829B78","b":"7F6CA95F1000","o":"238B78","s":"ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"38"},{"a":"7F6CA982458B","b":"7F6CA95F1000","o":"23358B","s":"abruptQuit","s+":"7B"},{"a":"7F6CA76D8D80","b":"7F6CA76C6000","o":"12D80","s":"funlockfile","s+":"50"},{"a":"7F6CA733993F","b":"7F6CA7302000","o":"3793F","s":"gsignal","s+":"10F"},{"a":"7F6CA7323C95","b":"7F6CA7302000","o":"21C95","s":"abort","s+":"127"},{"a":"7F6CA9815A87","b":"7F6CA95F1000","o":"224A87","s":"_ZN5mongo12_GLOBAL_N_19callAbortEv","C":"mongo::(anonymous namespace)::callAbort()","s+":"1B"},{"a":"7F6CA981680D","b":"7F6CA95F1000","o":"22580D","s":"ZN5mongo22invariantFailedWithMsgEPKcRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j","C":"mongo::invariantFailedWithMsg(char const*, std::{_}cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, unsigned int)","s+":"25E"},

{"a":"7F6CA0132AFA","b":"7F6CA00C1000","o":"71AFA","s":"_ZN5mongo15IndexBuildState8setStateENS0_5StateEbN5boost8optionalINS_9TimestampEEENS3_INS_6StatusEEE.cold","C":"mongo::IndexBuildState::setState(mongo::IndexBuildState::State, bool, boost::optional<mongo::Timestamp>, boost::optional<mongo::Status>) [clone .cold]","s+":"6E"}

,{"a":"7F6CA0131435","b":"7F6CA00C1000","o":"70435","s":"ZN5mongo19ReplIndexBuildState8tryAbortEPNS_16OperationContextENS_16IndexBuildActionENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEE","C":"mongo::ReplIndexBuildState::tryAbort(mongo::OperationContext*, mongo::IndexBuildAction, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)","s+":"3C5"},{"a":"7F6CA010B75B","b":"7F6CA00C1000","o":"4A75B","s":"_ZN5mongo22IndexBuildsCoordinator26abortIndexBuildByBuildUUIDEPNS_16OperationContextERKNS_4UUIDENS_16IndexBuildActionENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEE","C":"mongo::IndexBuildsCoordinator::abortIndexBuildByBuildUUID(mongo::OperationContext*, mongo::UUID const&, mongo::IndexBuildAction, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)","s+":"4AB"},{"a":"7F6CA016ADEB","b":"7F6CA0146000","o":"24DEB","s":"_ZN5mongo28IndexBuildsCoordinatorMongod19voteAbortIndexBuildEPNS_16OperationContextERKNS_4UUIDERKNS_11HostAndPortERKNS_10StringDataE","C":"mongo::IndexBuildsCoordinatorMongod::voteAbortIndexBuild(mongo::OperationContext*, mongo::UUID const&, mongo::HostAndPort const&, mongo::StringData const&)","s+":"13B"},{"a":"7F6C9FCBFC91","b":"7F6C9FB5F000","o":"160C91","s":"_ZN5mongo12_GLOBAL_N_126VoteAbortIndexBuildCommand10Invocation8typedRunEPNS_16OperationContextE","C":"mongo::(anonymous namespace)::VoteAbortIndexBuildCommand::Invocation::typedRun(mongo::OperationContext*)","s+":"101"},{"a":"7F6CA0437410","b":"7F6CA03F1000","o":"46410","s":"ZN5mongo14CommandHelpers20runCommandInvocationEPNS_16OperationContextERKNS_12OpMsgRequestEPNS_17CommandInvocationEPNS_3rpc21ReplyBuilderInterfaceE","C":"mongo::CommandHelpers::runCommandInvocation(mongo::OperationContext*, mongo::OpMsgRequest const&, mongo::CommandInvocation*, mongo::rpc::ReplyBuilderInterface*)","s+":"60"},{"a":"7F6CA043B0BD","b":"7F6CA03F1000","o":"4A0BD","s":"_ZN5mongo14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEEb","C":"mongo::CommandHelpers::runCommandInvocation(std::shared_ptr<mongo::RequestExecutionContext>, std::shared_ptr<mongo::CommandInvocation>, bool)","s+":"CD"},{"a":"7F6C9ADCE340","b":"7F6C9AD9E000","o":"30340","s":"_ZN5mongo12_GLOBAL_N_120runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEE","C":"mongo::(anonymous namespace)::runCommandInvocation(std::shared_ptr<mongo::RequestExecutionContext>, std::shared_ptr<mongo::CommandInvocation>)","s+":"B0"},{"a":"7F6C9ADD083B","b":"7F6C9AD9E000","o":"3283B","s":"ZN5mongo12_GLOBAL_N_113InvokeCommand3runEv","C":"mongo::(anonymous namespace)::InvokeCommand::run()","s+":"24B"},{"a":"7F6C9ADD801E","b":"7F6C9AD9E000","o":"3A01E","s":"ZN5mongo12_GLOBAL_N_114RunCommandImpl11_runCommandEv","C":"mongo::(anonymous namespace)::RunCommandImpl::runCommand()","s+":"29E"},{"a":"7F6C9ADDA76A","b":"7F6C9AD9E000","o":"3C76A","s":"_ZN5mongo12_GLOBAL_N_132RunCommandAndWaitForWriteConcern24_runCommandWithFailPointEv","C":"mongo::(anonymous namespace)::RunCommandAndWaitForWriteConcern::runCommandWithFailPoint()","s+":"4A"},{"a":"7F6C9ADDECDD","b":"7F6C9AD9E000","o":"40CDD","s":"_ZN5mongo12_GLOBAL_N_132RunCommandAndWaitForWriteConcern8_runImplEv","C":"mongo::(anonymous namespace)::RunCommandAndWaitForWriteConcern::runImpl()","s+":"3D"},{"a":"7F6C9ADD261A","b":"7F6C9AD9E000","o":"3461A","s":"_ZN5mongo12_GLOBAL_N_114RunCommandImpl3runEv","C":"mongo::(anonymous namespace)::RunCommandImpl::run()","s+":"13A"},{"a":"7F6C9ADDBD8F","b":"7F6C9AD9E000","o":"3DD8F","s":"ZN5mongo12_GLOBAL_N_119ExecCommandDatabase12_commandExecEv","C":"mongo::(anonymous namespace)::ExecCommandDatabase::commandExec()","s+":"92F"},{"a":"7F6C9ADE1D98","b":"7F6C9AD9E000","o":"43D98","s":"_ZN5mongo19makeReadyFutureWithIZNOS_11future_util10AsyncStateINS_12_GLOBAL_N_119ExecCommandDatabaseEE13thenWithStateIZZNS3_14executeCommandESt10shared_ptrINS3_13HandleRequest16ExecutionContextEEENUlvE0_clEvEUlPT_E_EEDaOSC_EUlvE_EENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultISF_JEE4typeEE4typeEEESF_","s+":"48"},{"a":"7F6C9ADE26AC","b":"7F6C9AD9E000","o":"446AC","s":"ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenINS_19CleanupFuturePolicyILb0EEEZNS_12_GLOBAL_N_114executeCommandESt10shared_ptrINSE_13HandleRequest16ExecutionContextEEEUlvE0_EEDaT_OT0_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESQ_E_EENS7_ISK_EESM_EUlS3_E_EEDaOSK_EN12SpecificImpl4callEOS3_","C":"mongo::unique_function<void (mongo::future_details::SharedStateBase*)>::makeImpl<mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::makeContinuation<void, mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::then<mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::

{lambda()#2}>(mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#2}&&) &&::{lambda()#3}::operator()() const::{lambda(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>, mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#2}&&)::{lambda(mongo::future_details::SharedStateBase*)#1}>(mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::makeContinuation<void, mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::then<mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#2}>(mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#2}&&) &&::{lambda()#3}::operator()() const::{lambda(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>, mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#2}&&)::{lambda(mongo::future_details::SharedStateBase*)#1}&&)::SpecificImpl::call(mongo::future_details::SharedStateBase*&&)","s+":"1FC"},{"a":"7F6CA8C6920F","b":"7F6CA8C22000","o":"4720F","s":"ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","C":"mongo::future_details::SharedStateBase::transitionToFinished()","s+":"10F"},{"a":"7F6CA6C05124","b":"7F6CA6B55000","o":"B0124","s":"_ZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE17propagateResultToEPNS0_15SharedStateImplIS2_EE","C":"mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::propagateResultTo(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>) &&","s+":"1B4"},{"a":"7F6C9ADDA6E3","b":"7F6C9AD9E000","o":"3C6E3","s":"_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenINS_19CleanupFuturePolicyILb0EEEZNS_12_GLOBAL_N_114executeCommandESt10shared_ptrINSE_13HandleRequest16ExecutionContextEEEUlvE_EEDaT_OT0_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESQ_E_EENS7_ISK_EESM_EUlS3_E_EEDaOSK_EN12SpecificImpl4callEOS3_","C":"mongo::unique_function<void (mongo::future_details::SharedStateBase)>::makeImpl<mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::makeContinuation<void, mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::then<mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#1}>(mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#1}&&) &&::{lambda()#3}::operator()() const::{lambda(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>, mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#1}&&)::{lambda(mongo::future_details::SharedStateBase*)#1}>(mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::makeContinuation<void, mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::then<mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#1}>(mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#1}&&) &&::{lambda()#3}::operator()() const::{lambda(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>, mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#1}&&)::{lambda(mongo::future_details::SharedStateBase*)#1}&&)::SpecificImpl::call(mongo::future_details::SharedStateBase*&&)","s+":"93"},{"a":"7F6CA8C6920F","b":"7F6CA8C22000","o":"4720F","s":"ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","C":"mongo::future_details::SharedStateBase::transitionToFinished()","s+":"10F"},{"a":"7F6C9ADE2E01","b":"7F6C9AD9E000","o":"44E01","s":"_ZN5mongo12_GLOBAL_N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","C":"mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)","s+":"6F1"},{"a":"7F6C9ADE392B","b":"7F6C9AD9E000","o":"4592B","s":"ZN5mongo12_GLOBAL_N_116receivedCommandsESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","C":"mongo::(anonymous namespace)::receivedCommands(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)","s+":"43B"},{"a":"7F6C9ADE4419","b":"7F6C9AD9E000","o":"46419","s":"ZN5mongo12_GLOBAL_N_115CommandOpRunner3runEv","C":"mongo::(anonymous namespace)::CommandOpRunner::run()","s+":"49"},{"a":"7F6C9ADD64DC","b":"7F6C9AD9E000","o":"384DC","s":"ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS0_5HooksESt14default_deleteIS8_EE","C":"mongo::ServiceEntryPointCommon::handleRequest(mongo::OperationContext*, mongo::Message const&, std::unique_ptr<mongo::ServiceEntryPointCommon::Hooks const, std::default_delete<mongo::ServiceEntryPointCommon::Hooks const> >)","s+":"37C"},{"a":"7F6CA0648504","b":"7F6CA063A000","o":"E504","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE","C":"mongo::ServiceEntryPointMongod::handleRequest(mongo::OperationContext*, mongo::Message const&)","s+":"54"},{"a":"7F6CA0629314","b":"7F6CA05FC000","o":"2D314","s":"_ZN5mongo9transport15SessionWorkflow4Impl13_dispatchWorkEv","C":"mongo::transport::SessionWorkflow::Impl::_dispatchWork()","s+":"144"},{"a":"7F6CA0629B67","b":"7F6CA05FC000","o":"2DB67","s":"_ZZNO5mongo14future_details10FutureImplISt10unique_ptrINS_9transport15SessionWorkflow4Impl8WorkItemESt14default_deleteIS6_EEE4thenINS_19CleanupFuturePolicyILb0EEEZNS5_15_doOneIterationEvEUlT_E_EEDaSE_OT0_ENKUlOS9_E_clESI.isra.0","C":"mongo::future_details::FutureImpl<std::unique_ptr<mongo::transport::SessionWorkflow::Impl::WorkItem, std::default_delete<mongo::transport::SessionWorkflow::Impl::WorkItem> > >::then<mongo::CleanupFuturePolicy<false>, mongo::transport::SessionWorkflow::Impl::doOneIteration()::{lambda(auto:1)#1}>(mongo::CleanupFuturePolicy<false>, mongo::transport::SessionWorkflow::Impl::_doOneIteration()::{lambda(auto:1)#1}&&) &&::{lambda(std::unique_ptr<mongo::transport::SessionWorkflow::Impl::WorkItem, std::default_delete<mongo::transport::SessionWorkflow::Impl::WorkItem> >&&)#1}::operator()(std::unique_ptr<mongo::transport::SessionWorkflow::Impl::WorkItem, std::default_delete<mongo::transport::SessionWorkflow::Impl::WorkItem> >&&) const [clone .isra.0]","s+":"47"},{"a":"7F6CA062B1F5","b":"7F6CA05FC000","o":"2F1F5","s":"_ZN5mongo9transport15SessionWorkflow4Impl15_doOneIterationEv","C":"mongo::transport::SessionWorkflow::Impl::_doOneIteration()","s+":"535"},{"a":"7F6CA062BB51","b":"7F6CA05FC000","o":"2FB51","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport15SessionWorkflow4Impl18_scheduleIterationEvEUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1","C":"mongo::unique_function<void (mongo::Status)>::makeImpl<mongo::transport::SessionWorkflow::Impl::scheduleIteration()::{lambda(mongo::Status)#1}>(mongo::transport::SessionWorkflow::Impl::_scheduleIteration()::{lambda(mongo::Status)#1}&&)::SpecificImpl::call(mongo::Status&&)","s+":"61"},{"a":"7F6CA062EEEE","b":"7F6CA05FC000","o":"32EEE","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport15SessionWorkflow4Impl15_captureContextES3_EUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1","C":"mongo::unique_function<void (mongo::Status)>::makeImpl<mongo::transport::SessionWorkflow::Impl::_captureContext(mongo::unique_function<void (mongo::Status)>)::{lambda(mongo::Status)#1}>(mongo::transport::SessionWorkflow::Impl::_captureContext(mongo::unique_function<void (mongo::Status)>)::{lambda(mongo::Status)#1}&&)::SpecificImpl::call(mongo::Status&&)","s+":"9E"},{"a":"7F6CA05EB639","b":"7F6CA05BB000","o":"30639","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport26ServiceExecutorSynchronous11SharedState8scheduleENS0_IFvNS_6StatusEEEEEUlvE0_EEDaOT_EN12SpecificImpl4callEv","C":"mongo::unique_function<void ()>::makeImpl<mongo::transport::ServiceExecutorSynchronous::SharedState::schedule(mongo::unique_function<void (mongo::Status)>)::{lambda()#2}

>(mongo::transport::ServiceExecutorSynchronous::SharedState::schedule(mongo::unique_function<void (mongo::Status)>)::{lambda()#2}&&)::SpecificImpl::call()","s+":"E9"},{"a":"7F6CA05EE405","b":"7F6CA05BB000","o":"33405","s":"ZN5mongo9transport12_GLOBAL_N_17runFuncEPv","C":"mongo::transport::(anonymous namespace)::runFunc(void*)","s+":"2A5"},{"a":"7F6CA76CE2DE","b":"7F6CA76C6000","o":"82DE","s":"start_thread","s+":"FE"},{"a":"7F6CA73FEA63","b":"7F6CA7302000","o":"FCA63","s":"clone","s+":"43"}],"processInfo":{"mongodbVersion":"7.1.0-alpha-777-gdcd8c05-patch-6467bdaf0305b97abfa54e52","gitVersion":"dcd8c050fb807cd6a30f1c3f833f4be23c22fdcf","compiledModules":["enterprise"],"uname":

{"sysname":"Linux","release":"4.18.0-80.1.2.el8_0.x86_64","version":"#1 SMP Sun Apr 28 09:21:22 UTC 2019","machine":"x86_64"}

,"somap":[

{"b":"7F6CA95F1000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/libbase.so","elfType":3,"buildId":"70A4BF67E45406DC"}

,

{"b":"7F6CA8C22000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/libmongod_main.so","elfType":3,"buildId":"58EA5199C208EE9C"}

,

{"b":"7F6CA76C6000","path":"/lib64/libpthread.so.0","elfType":3,"buildId":"5326B8728FA01B7149DAC943100F1405533E76CE"}

,

{"b":"7F6CA7302000","path":"/lib64/libc.so.6","elfType":3,"buildId":"0598B7D6A05E64AE676133CF6331AF5578888AD0"}

,

{"b":"7F6CA6B55000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/../lib/libtransport_layer.so","elfType":3,"buildId":"05E7DC0ACC1A95D7"}

,

{"b":"7F6CA063A000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/../lib/libservice_context_d.so","elfType":3,"buildId":"EA05900610DCD46D"}

,

{"b":"7F6CA05FC000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/../lib/libservice_entry_point.so","elfType":3,"buildId":"2D722DEAEE5A883F"}

,

{"b":"7F6CA05BB000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/../lib/libservice_executor.so","elfType":3,"buildId":"63D9B70C83EEE0AA"}

,

{"b":"7F6CA03F1000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/../lib/libcommands.so","elfType":3,"buildId":"03A679803D0A9CD4"}

,

{"b":"7F6CA0146000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/../lib/libindex_builds_coordinator_mongod.so","elfType":3,"buildId":"B1458B969BD6A0CC"}

,

{"b":"7F6CA00C1000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/../lib/libindex_builds_coordinator_interface.so","elfType":3,"buildId":"E9B2C85482DE59E2"}

,

{"b":"7F6C9FB5F000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/../lib/libmongod.so","elfType":3,"buildId":"D35B9AA6296C8010"}

,

{"b":"7F6C9AD9E000","path":"/data/mci/031cd9f3cc1b1d9d26632be7fb013b63/src/dist-test/bin/../lib/../lib/../lib/libservice_entry_point_common.so","elfType":3,"buildId":"C0F1BBB6B0FB3D08"}

]}}},"tags":[]
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA9827EB8","b":"7F6CA95F1000","o":"236EB8","s":"ZN5mongo18stack_trace_detail12_GLOBAL_N_117getStackTraceImplERKNS1_7OptionsE.constprop.0","C":"mongo::stack_trace_detail::(anonymous namespace)::getStackTraceImpl(mongo::stack_trace_detail::(anonymous namespace)::Options const&) [clone .constprop.0]","s+":"228"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA9829B78","b":"7F6CA95F1000","o":"238B78","s":"_ZN5mongo15printStackTraceEv","C":"mongo::printStackTrace()","s+":"38"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA982458B","b":"7F6CA95F1000","o":"23358B","s":"abruptQuit","s+":"7B"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA76D8D80","b":"7F6CA76C6000","o":"12D80","s":"funlockfile","s+":"50"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA733993F","b":"7F6CA7302000","o":"3793F","s":"gsignal","s+":"10F"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA7323C95","b":"7F6CA7302000","o":"21C95","s":"abort","s+":"127"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA9815A87","b":"7F6CA95F1000","o":"224A87","s":"ZN5mongo12_GLOBAL_N_19callAbortEv","C":"mongo::(anonymous namespace)::callAbort()","s+":"1B"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA981680D","b":"7F6CA95F1000","o":"22580D","s":"ZN5mongo22invariantFailedWithMsgEPKcRKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_j","C":"mongo::invariantFailedWithMsg(char const*, std::_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, unsigned int)","s+":"25E"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA0132AFA","b":"7F6CA00C1000","o":"71AFA","s":"_ZN5mongo15IndexBuildState8setStateENS0_5StateEbN5boost8optionalINS_9TimestampEEENS3_INS_6StatusEEE.cold","C":"mongo::IndexBuildState::setState(mongo::IndexBuildState::State, bool, boost::optional<mongo::Timestamp>, boost::optional<mongo::Status>) [clone .cold]","s+":"6E"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA0131435","b":"7F6CA00C1000","o":"70435","s":"ZN5mongo19ReplIndexBuildState8tryAbortEPNS_16OperationContextENS_16IndexBuildActionENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEE","C":"mongo::ReplIndexBuildState::tryAbort(mongo::OperationContext*, mongo::IndexBuildAction, std::_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)","s+":"3C5"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA010B75B","b":"7F6CA00C1000","o":"4A75B","s":"ZN5mongo22IndexBuildsCoordinator26abortIndexBuildByBuildUUIDEPNS_16OperationContextERKNS_4UUIDENS_16IndexBuildActionENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEE","C":"mongo::IndexBuildsCoordinator::abortIndexBuildByBuildUUID(mongo::OperationContext*, mongo::UUID const&, mongo::IndexBuildAction, std::_cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)","s+":"4AB"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA016ADEB","b":"7F6CA0146000","o":"24DEB","s":"_ZN5mongo28IndexBuildsCoordinatorMongod19voteAbortIndexBuildEPNS_16OperationContextERKNS_4UUIDERKNS_11HostAndPortERKNS_10StringDataE","C":"mongo::IndexBuildsCoordinatorMongod::voteAbortIndexBuild(mongo::OperationContext*, mongo::UUID const&, mongo::HostAndPort const&, mongo::StringData const&)","s+":"13B"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6C9FCBFC91","b":"7F6C9FB5F000","o":"160C91","s":"ZN5mongo12_GLOBAL_N_126VoteAbortIndexBuildCommand10Invocation8typedRunEPNS_16OperationContextE","C":"mongo::(anonymous namespace)::VoteAbortIndexBuildCommand::Invocation::typedRun(mongo::OperationContext*)","s+":"101"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA0437410","b":"7F6CA03F1000","o":"46410","s":"_ZN5mongo14CommandHelpers20runCommandInvocationEPNS_16OperationContextERKNS_12OpMsgRequestEPNS_17CommandInvocationEPNS_3rpc21ReplyBuilderInterfaceE","C":"mongo::CommandHelpers::runCommandInvocation(mongo::OperationContext*, mongo::OpMsgRequest const&, mongo::CommandInvocation*, mongo::rpc::ReplyBuilderInterface*)","s+":"60"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6CA043B0BD","b":"7F6CA03F1000","o":"4A0BD","s":"_ZN5mongo14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEEb","C":"mongo::CommandHelpers::runCommandInvocation(std::shared_ptr<mongo::RequestExecutionContext>, std::shared_ptr<mongo::CommandInvocation>, bool)","s+":"CD"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6C9ADCE340","b":"7F6C9AD9E000","o":"30340","s":"ZN5mongo12_GLOBAL_N_120runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEE","C":"mongo::(anonymous namespace)::runCommandInvocation(std::shared_ptr<mongo::RequestExecutionContext>, std::shared_ptr<mongo::CommandInvocation>)","s+":"B0"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6C9ADD083B","b":"7F6C9AD9E000","o":"3283B","s":"ZN5mongo12_GLOBAL_N_113InvokeCommand3runEv","C":"mongo::(anonymous namespace)::InvokeCommand::run()","s+":"24B"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6C9ADD801E","b":"7F6C9AD9E000","o":"3A01E","s":"ZN5mongo12_GLOBAL_N_114RunCommandImpl11_runCommandEv","C":"mongo::(anonymous namespace)::RunCommandImpl::_runCommand()","s+":"29E"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6C9ADDA76A","b":"7F6C9AD9E000","o":"3C76A","s":"ZN5mongo12_GLOBAL_N_132RunCommandAndWaitForWriteConcern24_runCommandWithFailPointEv","C":"mongo::(anonymous namespace)::RunCommandAndWaitForWriteConcern::_runCommandWithFailPoint()","s+":"4A"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6C9ADDECDD","b":"7F6C9AD9E000","o":"40CDD","s":"ZN5mongo12_GLOBAL_N_132RunCommandAndWaitForWriteConcern8_runImplEv","C":"mongo::(anonymous namespace)::RunCommandAndWaitForWriteConcern::_runImpl()","s+":"3D"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6C9ADD261A","b":"7F6C9AD9E000","o":"3461A","s":"ZN5mongo12_GLOBAL_N_114RunCommandImpl3runEv","C":"mongo::(anonymous namespace)::RunCommandImpl::run()","s+":"13A"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6C9ADDBD8F","b":"7F6C9AD9E000","o":"3DD8F","s":"ZN5mongo12_GLOBAL_N_119ExecCommandDatabase12_commandExecEv","C":"mongo::(anonymous namespace)::ExecCommandDatabase::_commandExec()","s+":"92F"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6C9ADE1D98","b":"7F6C9AD9E000","o":"43D98","s":"ZN5mongo19makeReadyFutureWithIZNOS_11future_util10AsyncStateINS_12_GLOBAL_N_119ExecCommandDatabaseEE13thenWithStateIZZNS3_14executeCommandESt10shared_ptrINS3_13HandleRequest16ExecutionContextEEENUlvE0_clEvEUlPT_E_EEDaOSC_EUlvE_EENS_6FutureINS_14future_details17UnwrappedTypeImplINSt13invoke_resultISF_JEE4typeEE4typeEEESF_","s+":"48"}}
 
[j2:prim] | 2023-05-19T18:47:45.649+00:00 I CONTROL 31445 [conn198] "Frame","attr":{"frame":{"a":"7F6C9ADE26AC","b":"7F6C9AD9E000","o":"446AC","s":"ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenINS_19CleanupFuturePolicyILb0EEEZNS_12_GLOBAL_N_114executeCommandESt10shared_ptrINSE_13HandleRequest16ExecutionContextEEEUlvE0_EEDaT_OT0_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESQ_E_EENS7_ISK_EESM_EUlS3_E_EEDaOSK_EN12SpecificImpl4callEOS3_","C":"mongo::unique_function<void (mongo::future_details::SharedStateBase*)>::makeImpl<mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::makeContinuation<void, mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::then<mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::

{lambda()#2}

>(mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#2}&&) &&::{lambda()#3}::operator()() const::{lambda(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>, mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#2}&&)::{lambda(mongo::future_details::SharedStateBase*)#1}>(mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::makeContinuation<void, mongo::future_details::FutureImpl<mongo::future_details::FakeVoid>::then<mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#2}>(mongo::CleanupFuturePolicy<false>, mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#2}&&) &&::{lambda()#3}::operator()() const::{lambda(mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>, mongo::future_details::SharedStateImpl<mongo::future_details::FakeVoid>)#1}>(mongo::(anonymous namespace)::executeCommand(std::shared_ptr<mongo::(anonymous namespace)::HandleRequest::ExecutionContext>)::{lambda()#2}&&)::{lambda(mongo::future_details::SharedStateBase*)#1}&&)::SpecificImpl::call(mongo::future_details::SharedStateBase*&&)","s+":"1FC"}}
 



 Comments   
Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adi.zaimi@mongodb.com', 'username': 'adizaimi'}

Message: SERVER-78371: Enable tests that previously resulted in an index build invariant

For fcv_upgrade_downgrade_replica_sets_jscore_passthrough.yml, we are
enabling the previously disabled tests now that the dependency SERVER-77387
is resolved.
Branch: EVG-17874-taskgen-test
https://github.com/mongodb/mongo/commit/b1b8f50d81304201e668583f622dc09eca09a496

Comment by Githook User [ 28/Jun/23 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adi.zaimi@mongodb.com', 'username': 'adizaimi'}

Message: SERVER-78371: Enable tests that previously resulted in an index build invariant

For fcv_upgrade_downgrade_replica_sets_jscore_passthrough.yml, we are
enabling the previously disabled tests now that the dependency SERVER-77387
is resolved.
Branch: master
https://github.com/mongodb/mongo/commit/b1b8f50d81304201e668583f622dc09eca09a496

Comment by Githook User [ 27/Jun/23 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adi.zaimi@mongodb.com', 'username': 'adizaimi'}

Message: SERVER-78398 Retry createIndex commands which now get aborted from setFCV command

After SERVER-77387, an ongoing createIndex command can be aborted with error 'IndexBuildAborted' if a setFeatureCompatibilityVersion command is run at the same time. This only occurs in suite
fcv_upgrade_downgrade_replica_sets_jscore_passthrough which sends setFCV command continously.
In that suite, we should retry any createIndex command that failed with that error.
Branch: master
https://github.com/mongodb/mongo/commit/f5c23c74e131d002c01c60f68d7e3ef3191c5eca

Comment by Githook User [ 20/Jun/23 ]

Author:

{'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}

Message: SERVER-77387 Abort index builds on FCV downgrade
Branch: master
https://github.com/mongodb/mongo/commit/47a38944631df5865c6d88308ed30a024f697a7e

Comment by Yujin Kang Park [ 09/Jun/23 ]

Thanks for filing this. I was looking into a similar issue in BF-28963 so I will use this ticket for that fix too.

My concern with only checking once is that first, index builds can be a very long running operation. Acting as if the FCV was 7.1 potentially days after the FCV was downgraded to 7.0 might be somewhat unexpected. And it would be kind of breaking what that FCV version means.

The other point is that the feature involves sending a command to another node (mainly from secondary to primary). An FCV downgrade might be a step towards also downgrading the binary version, so by the time a secondary tries to act on the cached FCV it might be the case that the primary is binary 7.0 and the command was not loaded, and also has a different cached FCV.

Comment by Adi Zaimi [ 26/May/23 ]

The fix for this may be to cache the value of the feature flag (graceful) at the beginning of the index build and use the cached version all the way to the end. For more background see this general recommendation:

Note that in a single operation, you must only check the feature flag once. This is because if you checked if the feature flag was enabled multiple times within a single operation, it's possible that the feature flag and FCV might have become enabled/disabled during that time, which would result in only part of the operation being executed.
https://github.com/mongodb/mongo/blob/36aa7c9ea7117afc95e2bfd25b591ad2edb1ce58/src/mongo/db/repl/FCV_AND_FEATURE_FLAG_README.md#feature-flag-gating

 

Comment by Adi Zaimi [ 26/May/23 ]

This feature is being turned on in 7.1 but it was off in 7.0, so when processing gets to 

_checkIfValidTransition() we would not be returning true (since this is a valid state change) but rather false (because graceful flag is false in _checkIfValidTransition())

 

    featureFlagIndexBuildGracefulErrorHandling:
        description: "Enable index build error handling improvements"
        cpp_varname: feature_flags::gIndexBuildGracefulErrorHandling
        default: true
        version: 7.1

Comment by Adi Zaimi [ 26/May/23 ]

#5  mongo::IndexBuildState::setState (this=0x564503aff000, state=mongo::IndexBuildState::kAborted, skipCheck=<optimized out>, timestamp=..., abortStatus=...) at src/mongo/db/repl_index_build_state.cpp:94
94              invariant(_checkIfValidTransition(_state, state),
(gdb) p _state
$1 = mongo::IndexBuildState::kAwaitPrimaryAbort
(gdb) p state
$2 = mongo::IndexBuildState::kAborted
(gdb) p serverGlobalParams.featureCompatibility
$3 = (const mongo::ServerGlobalParams::FeatureCompatibility &) @0x7f7a12be4ac8: {
  _version = {
    <mongo::atomic_word_detail::Base<mongo::multiversion::FeatureCompatibilityVersion, (mongo::atomic_word_detail::Category)0>> = {
      _value = {
        _M_i = mongo::multiversion::FeatureCompatibilityVersion::kDowngradingFrom_7_1_To_7_0
      }
    }, <No data fields>}
}

Comment by Adi Zaimi [ 26/May/23 ]

Seems like this is triggering an invalid state transfer:

"current state :Await primary abort oplog entry, new state: Aborted"

void IndexBuildState::setState(State state,
                               bool skipCheck,
                               boost::optional<Timestamp> timestamp,
                               boost::optional<Status> abortStatus) {
    if (!skipCheck) {
        invariant(_checkIfValidTransition(_state, state),
                  str::stream() << "current state :" << toString(_state)
                                << ", new state: " << toString(state));
    }

Comment by Adi Zaimi [ 26/May/23 ]

gdb stack trace:

#0  0x00007f7a1b66793f in raise () from /lib64/libc.so.6
#1  0x00007f7a1b651c95 in abort () from /lib64/libc.so.6
#2  0x00007f7a1db43a87 in mongo::(anonymous namespace)::callAbort () at src/mongo/util/assert_util.cpp:76
#3  0x00007f7a1db4480d in mongo::invariantFailedWithMsg (expr=expr@entry=0x7f7a14415ca0 "_checkIfValidTransition(_state, state)", msg="current state :Await primary abort oplog entry, new state: Aborted", file=file@entry=0x7f7a14416778 "src/mongo/db/repl_index_build_state.cpp", line=line@entry=94) at src/mongo/util/assert_util.cpp:159
#4  0x00007f7a14460afa in mongo::invariantWithContextAndLocation<bool, mongo::IndexBuildState::setState(mongo::IndexBuildState::State, bool, boost::optional<mongo::Timestamp>, boost::optional<mongo::Status>)::<lambda()> > (testOK=<optimized out>, testOK=<optimized out>, expr=0x7f7a14415ca0 "_checkIfValidTransition(_state, state)", file=0x7f7a14416778 "src/mongo/db/repl_index_build_state.cpp", line=94, contextExpr=...) at src/mongo/util/assert_util_core.h:98
#5  mongo::IndexBuildState::setState (this=0x564503aff000, state=mongo::IndexBuildState::kAborted, skipCheck=<optimized out>, timestamp=..., abortStatus=...) at src/mongo/db/repl_index_build_state.cpp:94
#6  0x00007f7a1445f435 in mongo::ReplIndexBuildState::tryAbort (this=this@entry=0x564503afef10, opCtx=opCtx@entry=0x5645042e5000, signalAction=signalAction@entry=mongo::IndexBuildAction::kPrimaryAbort, reason="'voteAbortIndexBuild' received from 'localhost:20750': collection scan stopped. totalRecords: 0; durationMillis: 110ms; phase: collection scan; collectionScanPosition: (None); readSource: kMajorityCom"...) at src/mongo/db/repl_index_build_state.cpp:498
#7  0x00007f7a1443975b in mongo::IndexBuildsCoordinator::abortIndexBuildByBuildUUID (this=this@entry=0x5644fdf74dc0, opCtx=opCtx@entry=0x5645042e5000, buildUUID="da221b16-3932-4d63-b586-0655956d9024", signalAction=signalAction@entry=mongo::IndexBuildAction::kPrimaryAbort, reason="'voteAbortIndexBuild' received from 'localhost:20750': collection scan stopped. totalRecords: 0; durationMillis: 110ms; phase: collection scan; collectionScanPosition: (None); readSource: kMajorityCom"...) at src/mongo/db/index_builds_coordinator.cpp:1447
#8  0x00007f7a14498deb in mongo::IndexBuildsCoordinatorMongod::voteAbortIndexBuild (this=0x5644fdf74dc0, opCtx=0x5645042e5000, buildUUID="da221b16-3932-4d63-b586-0655956d9024", votingNode=..., reason="collection scan stopped. totalRecords: 0; durationMillis: 110ms; phase: collection scan; collectionScanPosition: (None); readSource: kMajorityCommitted :: caused by :: Ambiguous field name found in ar"...) at src/mongo/db/index_builds_coordinator_mongod.cpp:543
#9  0x00007f7a13fedc91 in mongo::(anonymous namespace)::VoteAbortIndexBuildCommand::Invocation::typedRun (this=0x56450420c500, opCtx=0x5645042e5000) at src/mongo/base/string_data.h:65
#10 0x00007f7a14765410 in mongo::CommandHelpers::runCommandInvocation (opCtx=0x5645042e5000, request=..., invocation=0x56450420c500, response=0x564503779540) at src/mongo/db/commands.cpp:186
#11 0x00007f7a147690bd in operator() (__closure=<optimized out>) at src/mongo/db/request_execution_context.h:69
#12 mongo::makeReadyFutureWith<mongo::CommandHelpers::runCommandInvocation(std::shared_ptr<mongo::RequestExecutionContext>, std::shared_ptr<mongo::CommandInvocation>, bool)::<lambda()> > (func=...) at src/mongo/util/future.h:1348
#13 mongo::CommandHelpers::runCommandInvocation (rec=std::shared_ptr<mongo::RequestExecutionContext> (empty) = {...}, invocation=std::shared_ptr<mongo::CommandInvocation> (empty) = {...}, useDedicatedThread=<optimized out>) at src/mongo/db/commands.cpp:173
#14 0x00007f7a0f0fc340 in mongo::(anonymous namespace)::runCommandInvocation (rec=std::shared_ptr<mongo::RequestExecutionContext> (empty) = {...}, invocation=std::shared_ptr<mongo::CommandInvocation> (empty) = {...}) at src/mongo/db/service_entry_point_common.cpp:162
#15 0x00007f7a0f0fe83b in operator() (__closure=<optimized out>) at /opt/mongodbtoolchain/revisions/11316f1e7b36f08dcdd2ad0640af18f9287876f4/stow/gcc-v4.spX/include/c++/11.3.0/bits/shared_ptr_base.h:731

Comment by Adi Zaimi [ 25/May/23 ]

Another one occured for another test jstests/core/index/indexu.js:
https://parsley.mongodb.com/resmoke/19787bb94930bbc655c6f052c131bb73/all?bookmarks=0,145692,145714,145717,145735,145736,145737,145738,158077

Generated at Thu Feb 08 06:35:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.