Jeff Lange
Member
[...]
Step 14 of 26: Threads 00:29:40 [3,526] 1.57%
Step 14 of 26: Threads 00:29:50 [3,527] 1.57%
Step 14 of 26: Threads 00:29:59 [3,605] 1.61%
Step 14 of 26: Threads 00:30:08 [3,606] 1.61%
[XF\Db\DuplicateKeyException]
MySQL query error [1062]: Duplicate entry '3992' for key 'PRIMARY'
Not sure what the importer is doing to be honest, it seems to bring in a bunch of much newer threads (giving them low thread id's), and then continues to try to bring in threads that already have those ID's. It's always threads from one specific forum as well. Very odd, like in the thread import at this point it's completed 3606 of the threads, and is now on 3992, but looking in the database, but looking now, somehow there are already threads in there with ID's from 3992 to 4040 that in reality have thread id's in the hundreds of thousands in the source database. They should not have been imported yet, the thread id's inserted don't match the source, and it shouldn't have reached them yet.
I has happened a few times now, seemingly randomly. It previously experienced the issue at thread ID 808, this time it was 3992. It is always threads from the same forum that get imported out of order without their correct thread ID and mess up the threads that actually have that ID.
Jeff