Has anyone Run into a duplicate ObjectID key error after inserting 13
Setup - I have a Intel Nuc i7, with 16G RAM, running Windows 10, MongoDB
3.2.4, wireTiger (not replcaiting).
On the Same Machine I'M running Visual Studio's and the program I created
in debug mode.
Program - use PCAP.Net reads a pcap file - for each packet it creates a
packetBson object, when a 1 million objects are added to my list, it calls
insertMany for the collection.
Issue: Around the 13 Million records inserted I get _id - duplicate key in
I've tried using just the ObjectId.GenerateNewId(),
ObjectId.GenerateNewId(System.DateTime.Now), and IIdGenerator _generator =
all three methods - I still get _id duplicate key in index around the 13
Thanks in advance for any help.
You received this message because you are subscribed to the Google Groups "mongodb-user"