问答详情
源自:5-3 Mongodb分片手动分片演示

按照视频流程输入sh.stopBalancer()之后出现错误信息 Error: command failed: { "ok" : 0, "errmsg" : "no such cmd: balancerStop", "code" : 59 } :

按照视频流程输入sh.stopBalancer()之后出现错误信息

2018-08-07T09:21:44.285+0800 E QUERY    [js] Error: command failed: { "ok" : 0, "errmsg" : "no such cmd: balancerStop", "code" : 59 } :

_getErrorWithCode@src/mongo/shell/utils.js:25:13

doassert@src/mongo/shell/assert.js:18:14

_assertCommandWorked@src/mongo/shell/assert.js:534:17

assert.commandWorked@src/mongo/shell/assert.js:618:16

sh.stopBalancer@src/mongo/shell/utils_sh.js:163:12

这个问题如何解决

提问者:qq_没有技术的宅_0 2018-08-07 09:23

个回答