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

Replication should not have multiple active OperationContexts on the same thread

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc2
    • Component/s: Replication
    • Labels:
      None

      Description

      Currently there are two call stacks which do that:

       m31000|  mongod(mongo::OperationContextImpl::OperationContextImpl() 0xF4) [0xaf3e34]
       m31000|  mongod(mongo::repl::startMasterSlave() 0x1A) [0xc37ada]
       m31000|  mongod(mongo::repl::ReplicationCoordinatorImpl::startReplication(mongo::OperationContext*) 0xE0) [0xc61c40]
       m31000|  mongod(mongo::initAndListen(int) 0x1954) [0x7e3744]

      and

       m31100|  mongod(mongo::OperationContextImpl::OperationContextImpl() 0xF4) [0xaf3e34]
       m31100|  mongod(mongo::repl::ReplicationCoordinatorExternalStateImpl::createOperationContext(std::string const&) 0x34) [0xc552f4]
       m31100|  mongod(mongo::repl::ReplicationCoordinatorImpl::signalDrainComplete() 0xAB) [0xc64c9b]
       m31100|  mongod(mongo::repl::SyncTail::tryPopAndWaitForMore(mongo::repl::SyncTail::OpQueue*, mongo::repl::ReplicationCoordinator*) 0x34D) [0xccd40d]
       m31100|  mongod(mongo::repl::SyncTail::oplogApplication() 0x450) [0xcceb10]
       m31100|  mongod(mongo::repl::runSyncThread() 0x1DF) [0xcc576f]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              spencer Spencer Brody (Inactive)
              Reporter:
              kaloian.manassiev Kaloian Manassiev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: