Two failed analyses in one epoch leads to unique constraint failed when inserting into failed_analyses table
r0ller opened this issue · 0 comments
r0ller commented
The reason is most probably that the epoch resolution depends on the hardware and in case a complete analysis fails followed by an immediate partial analysis which fails as well, the same epoch timestamp gets generated and the failed_analyses table key has already a record for the sentence of the first analysis with that timestamp. One solution could be to add a counter to the table.