Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

MongoDB 3.2.10 Index rebuilding did not complete: 11000 E11000 duplicate key error collection

$
0
0

MOngoDB 3.2.10

Getting following error when adding replica set as WiredTiger. This is sharded cluster ( 3 shards nodes ). 2 Shards replica sets created using wiredTiger storage so only 1 shard is having problem when creating replica set.

2016-11-11T00:51:55.005+0000 I -        [initandlisten]   Index Build: 39291000/                                                                        39372845 99%
2016-11-11T00:51:58.032+0000 I -        [initandlisten]   Index Build: 39345000/                                                                        39372845 99%
2016-11-11T00:52:04.696+0000 E INDEX    [initandlisten] Index rebuilding did not                                                                         complete: 11000 E11000 duplicate key error collection: XYZ.ALBUM index: _id_                                                                         dup key: { : 59000012923579 }
2016-11-11T00:52:04.696+0000 I INDEX    [initandlisten] note: restart the server                                                                         with --noIndexBuildRetry to skip index rebuilds
2016-11-11T00:52:04.696+0000 I -        [initandlisten] Fatal Assertion 26100
2016-11-11T00:52:04.696+0000 I -        [initandlisten]

I did not have issue when I was using mmapv1 replica set but now I have dropped old replica set.

How to fix this issue ?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>