We are getting transaction has aborted error in many of our upsert queries in Bulk Data upload. Following some of the discussion threads, we came to know that these happened due to multiple conflicting updates, and retrying the transaction can resolve this. Retrying this in all the DB transactions will make it verbose and we are thinking if automatic retries could be done at the client(Dgo) or via some middleware. Is it possible to do it. Thanks in advance.
Thanks, Is this already a WIP, or I have to open a feature request somewhere. What do you suggest in the meantime to handle this directly in the if err != nil block or there can be better way to do it.