commercetools / commercetools/commercetools-sync-java

[Hactoberfest] Limit the number of retries on concurrency modification exceptions

Abierto
#197 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Hacktoberfest
Lenguaje dominante
Java
Estrellas
40
Forks
41
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Situation**
Currently on concurrency modification exceptions the sync retries with no limit until there is no error. See:
https://github.com/commercetools/commercetools-sync-java/blob/7cacc37ef8a1412f9bf300ba08000c108db81b4f/src/main/java/com/commercetools/sync/commons/BaseSync.java#L115-L124

**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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.