You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I know that when two or more threads trying to update same entity with transaction leads to too much contention exception. Is there anyway to retry the transaction again instead of throwing exception back to client.
Thanks
The text was updated successfully, but these errors were encountered:
@akreddy21 - you should be able to implement your own retry logic as explained below. I will see if this can be added to the framework in a future release.
If I use the logic that google has provided in docs, I will end up in writing boiler plate code to put every method in while loop or I have to use AOP to manage this at one place. It will be helpful if framework can provide this feature with configurations in TransactionOptions like no-of-times, intialDelay..
Hi,
I know that when two or more threads trying to update same entity with transaction leads to too much contention exception. Is there anyway to retry the transaction again instead of throwing exception back to client.
Thanks
The text was updated successfully, but these errors were encountered: