R3411 Failed to Insert - Duplicate key after 9.2.4 upgrade
After upgrading to 9.2.4 we started getting errors in the logs of R3411:
JDB3400009 - Failed to perform Insert for F4311
JDB3400009 - Failed to perform Insert for F4301
JDB3400009 - Failed to perform Insert for F4074
ExecuteSQLRequest: QSQLMSG *LIBL - SQL0803 - Duplicate key value specified
It appears that the cache is not getting cleared out and the UBE attempts to reprocess from the 1 message.
If there are 5 messages to process the 1st order is created fine. The 2nd cycle will attempt to process the 1st again then it goes to the 2nd.
The third cycle will attempt to reprocess 1 and 2 and then will process 3. The 4th will try to process 1 -3 again and then do 4.