mongos
在開始時未運行。當試圖啓動mongos
我看到下面的日誌:無法升級sharded mongoDB或停止平衡器
Fri Mar 22 17:43:13.383 [mongosMain] ERROR: error upgrading config database to v4 :: caused by :: newer version 4 of mongo config metadata is required, current version is 3, need to run mongos with --upgrade
但隨着--upgrade
參數,我看到以下日誌:
Fri Mar 22 17:43:39.273 [mongosMain] ERROR: error upgrading config database to v4 :: caused by :: balancer must be stopped for config upgrade
現在的問題是:我不能sh.stopBalancer()
停止平衡器,因爲我無法啓動mongos。現在對我來說這是一個僵局。請幫忙。
有線的事情是所有3 configsrv正在運行,但所有mongos客戶端都關閉。嘗試升級時仍然存在錯誤。 – ShuaiYuan 2013-03-22 19:48:33
但是,無論如何感謝您的幫助。我按照提示重新檢查瞭如何連接到configsrv並解決了問題。 – ShuaiYuan 2013-03-22 19:49:15