步骤四:配置Sharding 接下来,我们使用MongoDBShell登录到mongos,添加Shard节点 [root@100shard]#/usr/local/mongoDB/bin/mongoadmin
function.Addedthetest_superlock.cmodulewhichprovidesexamplecodeforobtaininganexclusivelocktoarollbackorWALdatabase.Addedthetest_multiplex.cmodulewhichprovidesanexampleVFSthatprovidesmultiplexing(sharding