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

Remove sharding runtime from embedded

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.3, 4.1.4
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      Dev Tools 2018-10-08

      Description

      Callstack when it starts:

      >    mongo_embedded_capi_test.exe!mongo::stdx::thread::thread<void <lambda>(void),0>(mongo::executor::NetworkInterfaceTL::startup::__l2::void <lambda>(void) && f) Line 81 C++
          mongo_embedded_capi_test.exe!mongo::executor::NetworkInterfaceTL::startup() Line 102    C++
          mongo_embedded_capi_test.exe!mongo::executor::ThreadPoolTaskExecutor::startup() Line 143    C++
          mongo_embedded_capi_test.exe!mongo::`anonymous namespace'::RangeDeleterExecutorHolder::getOrCreateExecutor() Line 86    C++
          mongo_embedded_capi_test.exe!mongo::CollectionShardingState::CollectionShardingState(mongo::ServiceContext * sc, mongo::NamespaceString nss) Line 171   C++
          mongo_embedded_capi_test.exe!std::_Ref_count_obj<mongo::CollectionShardingState>::_Ref_count_obj<mongo::CollectionShardingState><mongo::ServiceContext * __ptr64,mongo::NamespaceString>(mongo::ServiceContext * && <_Args_0>, mongo::NamespaceString && <_Args_1>) Line 901  C++
          mongo_embedded_capi_test.exe!std::make_shared<mongo::CollectionShardingState,mongo::ServiceContext * __ptr64,mongo::NamespaceString>(mongo::ServiceContext * && <_Args_0>, mongo::NamespaceString && <_Args_1>) Line 971  C++
          mongo_embedded_capi_test.exe!mongo::`anonymous namespace'::CollectionShardingStateMap::getOrCreate(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & ns) Line 118  C++
          mongo_embedded_capi_test.exe!mongo::CollectionShardingState::get(mongo::OperationContext * opCtx, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & ns) Line 186   C++
          mongo_embedded_capi_test.exe!mongo::CollectionShardingState::get(mongo::OperationContext * opCtx, const mongo::NamespaceString & nss) Line 177  C++
          mongo_embedded_capi_test.exe!mongo::OpObserverImpl::onInserts(mongo::OperationContext * opCtx, const mongo::NamespaceString & nss, boost::optional<mongo::UUID> uuid, std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<mongo::InsertStatement> > > first, std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<mongo::InsertStatement> > > last, bool fromMigrate) Line 416 C++
          mongo_embedded_capi_test.exe!mongo::OpObserverRegistry::onInserts(mongo::OperationContext * const opCtx, const mongo::NamespaceString & nss, boost::optional<mongo::UUID> uuid, std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<mongo::InsertStatement> > > begin, std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<mongo::InsertStatement> > > end, bool fromMigrate) Line 77 C++
          mongo_embedded_capi_test.exe!mongo::CollectionImpl::insertDocuments(mongo::OperationContext * opCtx, std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<mongo::InsertStatement> > > begin, std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<mongo::InsertStatement> > > end, mongo::OpDebug * opDebug, bool enforceQuota, bool fromMigrate) Line 374    C++
          mongo_embedded_capi_test.exe!mongo::Collection::insertDocuments(mongo::OperationContext * const opCtx, const std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<mongo::InsertStatement> > > begin, const std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<mongo::InsertStatement> > > end, mongo::OpDebug * const opDebug, const bool enforceQuota, const bool fromMigrate) Line 473    C++
          mongo_embedded_capi_test.exe!mongo::repl::`anonymous namespace'::insertDocumentsSingleBatch(mongo::OperationContext * opCtx, const mongo::NamespaceStringOrUUID & nsOrUUID, std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<mongo::InsertStatement> > > begin, std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<mongo::InsertStatement> > > end) Line 328    C++
          mongo_embedded_capi_test.exe!mongo::repl::StorageInterfaceImpl::insertDocuments::__l12::<lambda>() Line 357   C++
          mongo_embedded_capi_test.exe!mongo::writeConflictRetry<mongo::Status <lambda>(void) >(mongo::OperationContext * opCtx, mongo::StringData opStr, mongo::StringData ns, mongo::repl::StorageInterfaceImpl::insertDocuments::__l12::mongo::Status <lambda>(void) && f) Line 91   C++
          mongo_embedded_capi_test.exe!mongo::repl::StorageInterfaceImpl::insertDocuments(mongo::OperationContext * opCtx, const mongo::NamespaceStringOrUUID & nsOrUUID, const std::vector<mongo::InsertStatement,std::allocator<mongo::InsertStatement> > & docs) Line 355  C++
          mongo_embedded_capi_test.exe!mongo::repl::StorageInterfaceImpl::insertDocument(mongo::OperationContext * opCtx, const mongo::NamespaceStringOrUUID & nsOrUUID, const mongo::repl::TimestampedBSONObj & doc, __int64 term) Line 284  C++
          mongo_embedded_capi_test.exe!mongo::FeatureCompatibilityVersion::setIfCleanStartup(mongo::OperationContext * opCtx, mongo::repl::StorageInterface * storageInterface) Line 118  C++
          mongo_embedded_capi_test.exe!mongo::embedded::initialize(const char * yaml_config) Line 244 C++
          mongo_embedded_capi_test.exe!mongo_embedded_v1_instance::mongo_embedded_v1_instance(mongo_embedded_v1_lib * const p, const char * const yaml_config) Line 176   C++
          mongo_embedded_capi_test.exe!std::make_unique<mongo_embedded_v1_instance,mongo_embedded_v1_lib * __ptr64 const & __ptr64,char const * __ptr64 const & __ptr64>(mongo_embedded_v1_lib * const & <_Args_0>, const char * const & <_Args_1>) Line 1630   C++
          mongo_embedded_capi_test.exe!mongo::`anonymous namespace'::instance_new(mongo_embedded_v1_lib * const lib, const char * const yaml_config, mongo_embedded_v1_status & status) Line 349  C++
          mongo_embedded_capi_test.exe!mongo_embedded_v1_instance_create::__l2::<lambda>(mongo_embedded_v1_status & status) Line 586    C++
          mongo_embedded_capi_test.exe!mongo::`anonymous namespace'::enterCXXImpl<mongo_embedded_v1_instance * <lambda>(mongo_embedded_v1_status &),mongo_embedded_v1_instance * __ptr64>::call<mongo_embedded_v1_instance * <lambda>(mongo_embedded_v1_status &) >(mongo_embedded_v1_instance_create::__l2::mongo_embedded_v1_instance * <lambda>(mongo_embedded_v1_status &) && function, mongo_embedded_v1_status & status) Line 521 C++
          mongo_embedded_capi_test.exe!`anonymous namespace'::enterCXX<mongo_embedded_v1_instance * <lambda>(mongo_embedded_v1_status &) >(mongo_embedded_v1_status * const statusPtr, mongo_embedded_v1_instance_create::__l2::mongo_embedded_v1_instance * <lambda>(mongo_embedded_v1_status &) && c) Line 561    C++
          mongo_embedded_capi_test.exe!mongo_embedded_v1_instance_create(mongo_embedded_v1_lib * lib, const char * yaml_config, mongo_embedded_v1_status * statusPtr) Line 587    C++
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: