发布于 2015-09-14 14:57:48 | 303 次阅读 | 评论: 0 | 来源: 网络整理

rs.addArb(hostname)
参数:
  • host (string) – Specifies a host (and optionally port-number) for a arbiter member for the replica set.

Adds a new arbiter to an existing replica set.

This function will disconnect the shell briefly and forces a reconnection as the replica set renegotiates which node will be primary. As a result, the shell will display an error even if this command succeeds.

最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务