On this page本页内容
sh.waitForPingChange(activePings, timeout, interval)
sh.waitForPingChange() waits for a change in ping state of one of the 等待其中一个activepings, and only returns when the specified ping changes state.activeping的ping状态更改,并且仅在指定的ping更改状态时返回。
activePings | array | mongos collection.mongos集合中的活动ping数组。 |
timeout | integer | |
interval | integer |