Had a weird issue this morning that I can't make sense of.
There were 4 cases created from inbound emails that had duplicate case_referenceid numbers. The original 4 cases were created within a few seconds of each other, and the duplicates started 40 minutes later with the next batch of cases. So it wasn't 8 consecutive cases with duplicate case_referenceids, it was 4 unique case_referenceids followed by the same 4 40 minutes later.
There were no error messages indicating a possible cause in the system, sql or email manager logs, but there are some weird entries in the mail manager log:
2014-11-04 07:16:11.879> mail service count 2
2014-11-04 07:16:17.027> Mailbox: [email protected]
2014-11-04 07:16:17.027> Case tracker start
2014-11-04 07:16:17.089> Mailbox: [email protected]
2014-11-04 07:16:17.089> Create comm
2014-11-04 07:16:17.167> Mailbox: [email protected]
2014-11-04 07:16:17.167> Person has been identified
2014-11-04 07:16:17.292> Mailbox: [email protected]
2014-11-04 07:16:17.292> Case tracker start
2014-11-04 07:16:17.339> Mailbox: [email protected]
2014-11-04 07:16:17.339> Create comm
2014-11-04 07:16:17.448> Mailbox: [email protected]
2014-11-04 07:16:17.448> Person has been identified
2014-11-04 07:16:17.557> Mailbox: [email protected]
2014-11-04 07:16:17.557> Case tracker start
2014-11-04 07:16:17.620> Mailbox: [email protected]
2014-11-04 07:16:17.620> Create comm
2014-11-04 07:16:17.807> Mailbox: [email protected]
2014-11-04 07:16:17.807> Person has been identified
2014-11-04 07:16:17.901> Mailbox: [email protected]
2014-11-04 07:16:17.901> Case tracker start
2014-11-04 07:16:17.901> Mailbox: [email protected]
2014-11-04 07:16:17.901> Create case
2014-11-04 07:16:17.916> Mailbox: [email protected]
2014-11-04 07:16:17.916> Person has been identified: 445229
2014-11-04 07:16:17.994> Mailbox: [email protected]
2014-11-04 07:16:17.994> Create comm
2014-11-04 07:16:18.057> Mailbox: [email protected]
2014-11-04 07:16:18.057> Person has been identified
2014-11-04 07:16:29.897> Mailbox: [email protected]
2014-11-04 07:16:29.897> Case tracker start
2014-11-04 07:16:29.897> Mailbox: [email protected]
2014-11-04 07:16:29.897> Create case
2014-11-04 07:16:29.913> Mailbox: [email protected]
2014-11-04 07:16:29.913> Person has been identified: 445229
2014-11-04 07:16:30.006> Mailbox: [email protected]
2014-11-04 07:16:30.006> Create comm
2014-11-04 07:16:30.053> Mailbox: [email protected]
2014-11-04 07:16:30.053> Person has been identified
2014-11-04 07:16:31.519> Mailbox: [email protected]
2014-11-04 07:16:31.519> Case tracker start
2014-11-04 07:16:31.519> Mailbox: [email protected]
2014-11-04 07:16:31.519> Create case
2014-11-04 07:16:31.535> Mailbox: [email protected]
2014-11-04 07:16:31.535> Person has been identified: 445229
2014-11-04 07:16:31.566> Mailbox: [email protected]
2014-11-04 07:16:31.566> Create comm
2014-11-04 07:16:31.597> Mailbox: [email protected]
2014-11-04 07:16:31.597> Person has been identified
2014-11-04 07:16:32.799> Mailbox: [email protected]
2014-11-04 07:16:32.799> Case tracker start
2014-11-04 07:16:32.799> Mailbox: [email protected]
2014-11-04 07:16:32.799> Create case
2014-11-04 07:16:32.814> Mailbox: [email protected]
2014-11-04 07:16:32.814> Person has been identified: 445229
2014-11-04 07:16:32.845> Mailbox: [email protected]
2014-11-04 07:16:32.845> Create comm
2014-11-04 07:16:32.892> Mailbox: [email protected]
2014-11-04 07:16:32.892> Person has been identified
2014-11-04 07:16:34.093> Sleep Period = 158 seconds
2014-11-04 07:19:15.320> mail service count 2
2014-11-04 07:19:18.533> Mailbox: [email protected]
2014-11-04 07:19:18.533> Case tracker start
2014-11-04 07:19:18.580> Mailbox: [email protected]
2014-11-04 07:19:18.580> Create comm
2014-11-04 07:19:18.627> Mailbox: [email protected]
2014-11-04 07:19:18.627> Person has been identified
2014-11-04 07:19:18.705> Mailbox: [email protected]
2014-11-04 07:19:18.705> Case tracker start
2014-11-04 07:19:18.752> Mailbox: [email protected]
2014-11-04 07:19:18.752> Create comm
2014-11-04 07:19:18.783> Mailbox: [email protected]
2014-11-04 07:19:18.783> Person has been identified
2014-11-04 07:19:18.861> Mailbox: [email protected]
2014-11-04 07:19:18.861> Case tracker start
2014-11-04 07:19:18.908> Mailbox: [email protected]
2014-11-04 07:19:18.908> Create comm
2014-11-04 07:19:18.939> Mailbox: [email protected]
2014-11-04 07:19:18.939> Person has been identified
2014-11-04 07:19:19.032> Mailbox: [email protected]
2014-11-04 07:19:19.032> Case tracker start
2014-11-04 07:19:19.079> Mailbox: [email protected]
2014-11-04 07:19:19.079> Create comm
2014-11-04 07:19:19.110> Mailbox: [email protected]
2014-11-04 07:19:19.110> Person has been identified
Despite all the "create comm" entries at 7:16:17 AM there are only 2 communications created near that time.
Looking through the last 30 days worth of cases, this has happened a few other times, for a total of 7 sets of duplicate case_referenceids. Sometimes it's happened minutes apart, sometimes several hours apart. There is no obvious pattern in the incoming emails that create the cases.
For what it's worth, we're using Sage CRM version 7.2.e.1
Any insight appreciated.