mongo察看replica set副本集primary主节点

printjson(db.adminCommand( { isMaster: 1 } )); 

posted @ 2019-02-13 10:25  tonggc1668  阅读(336)  评论(0编辑  收藏  举报