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
ahmetoz
changed the title
Limit the number of retries on concurrency modification exceptions
[Hactoberfest] Limit the number of retries on concurrency modification exceptions
Sep 24, 2021
Situation
Currently on concurrency modification exceptions the sync retries with no limit until there is no error. See:
commercetools-sync-java/src/main/java/com/commercetools/sync/commons/BaseSync.java
Lines 115 to 124 in 7cacc37
Complication
It causes unnecessary api calls if the platform returns 409 - ConcurrentModificationException for the requests.
Resolution
Limit the number of retries on concurrency modification exceptions.
The text was updated successfully, but these errors were encountered: