Details
-
Question
-
Resolution: Done
-
Critical - P2
-
None
-
None
-
None
-
None
-
Os: amazon linux 2015.09. mongodb version 3.2.0
Description
Hello,
I have below set up:
config server : 1
Query router : 1
shard node : 2
I have imported my database to shard-1 , then from query server enabled sharding on db and collections as well. But, data did not sharded to 2nd shard node.
I am getting below error :
I NETWORK [initandlisten] connection accepted from 192.168.22.11:38942 #40 (5 connections now open)
|
2015-12-22T12:50:51.398+0000 W SHARDING [migrateThread] aborting migration, shard is missing 1 indexes and collection is not empty. Non-trivial index creation should be scheduled manually
|
2015-12-22T12:50:51.398+0000 I NETWORK [migrateThread] scoped connection to test-shard-2:27020 not being returned to the pool
|
2015-12-22T12:50:51.400+0000 I SHARDING [migrateThread] about to log metadata event into changelog: { _id: "test-shard-1-2015-12-22T12:50:51.399+0000-5679472b07c7eb8ed8577b95", server: "test-sh
|
ard-1", clientAddr: "", time: new Date(1450788651399), what: "moveChunk.to", ns: "GithubMeta.repository", details: { min: { _id: MinKey }, max: { _id: 0 }, note: "aborted", errmsg: "aborting migration, shard is missing 1 indexes and collection is not empty. Non-trivial index creation should be scheduled manually" } }
|
2015-12-22T12:50:51.406+0000 W SHARDING [migrateThread] cannot remove pending chunk [{ _id: MinKey }, { _id: 0 }), this shard does not contain the chunk
|
2015-12-22T12:50:51.406+0000 W SHARDING [migrateThread] cannot remove pending chunk [{ _id: MinKey }, { _id: 0 }), this shard does not contain the chunk
|
Please help. I am new to mongo server administration.
Thanks and Regards,
Saranjeet Singh