MongoDB启动流程7.2-initAndListen
2016-06-14 13:50:41 0 举报
MongoDB的启动流程7.2-initAndListen是一个重要的步骤,它负责初始化数据库实例并监听客户端连接。在这个阶段,MongoDB会创建必要的数据结构和文件,配置网络参数,以及设置日志记录等。一旦完成这些操作,MongoDB就会开始监听来自客户端的连接请求。这个过程中可能会涉及到一些性能调优和安全设置,以确保数据库实例能够高效、稳定地运行。总之,MongoDB的启动流程7.2-initAndListen是确保数据库实例正常运行的关键步骤之一。
作者其他创作
大纲/内容
web.detach()
PeriodicTask::startRunningPeriodicTasks()
storageGlobalParams.upgrade
startClientCursorMonitor()
getDeleter()-startWorkers()
N
serverGlobalParams.isHttpInterfaceEnabled
Y
认证相关
missingRepl
restartInProgressIndexesFromLastShutdown(&txn)
authindex::verifySystemIndexes(&txn)......
repl::getGlobalReplicationCoordinator()-startReplication(&txn);
repairDatabasesAndCheckVersion
startTTLBackgroundJob
logStartup()
log()
cc.shutdown();exitCleanly(EXIT_CLEAN);
OperationContextImpl txn;getGlobalAuthorizationManager()-initialize(&txn);
server-run()
snapshotThread.go()
mongo::signalForkSuccess()
0 条评论
下一页