Something wrong with upsert

Hi @spinelsun
If you start two transactions concurrently and try to commit together, the @upsert directive will come into action and abort one of the transactions. The @upsert directive does not get activated when you commit transactions via Ratel in a back-to-back, non-overlapping fashion.
See @dmai’s note in this ticket: Complete working example of an upsert operation - #2 by dmai
Also, please review this video.

1 Like