commercetools / commercetools/commercetools-sync-java

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

オープン
#197 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Hacktoberfest
主要言語
Java
スター
40
フォーク
41
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。