The following makes sense, but looking for suggestions for a workaround that won't affect performance:
I have a Map/Reduce script, it is creating invoices from sales orders. We use auto generated numbers but allow override of invoice number. Map/Reduce is creating invoices with duplicate transaction numbers.
Currently running in 1 queue which defeats the purpose of a Map/Reduce script but does solve the duplicates for the time being.