i trying remove shard mongo shard (v3.2) - cannot see database names need remove draining process not ending guessing because waiting user action fix something. based on error message, can figure out how further troubelshoot issue?
db.runcommand( { removeshard : "shard0001" } ) { "msg" : "draining ongoing", "state" : "ongoing", "remaining" : { "chunks" : numberlong(1), "dbs" : numberlong(0) }, "note" : "you need drop or moveprimary these databases", "dbstomove" : [ ], "ok" : 1 }
deleting test databases/collections did not need resolved issue. doing in non-test environment not best approach. still looking better solution.
Comments
Post a Comment