commercetools / commercetools/sphere-node-sdk
Should retry on concurrent modification error
Open
- Dominant language
- CoffeeScript
- Stars
- 16
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
### Expected behavior
If i update product and concurrent modification exception is thrown by API, SDK should use new version from API error response and retry payload. This behaviour should be configurable (i.e.: on client instantiation. Nice to have: per endpoint). More details on error: http://dev.commercetools.com/http-api-errors.html#409-conflict
### Actual behavior
It rejects with concurrent modification error from API
### Steps to reproduce the behavior
Update product attribute and publish at the same time
Contributor guide
Assessment
This issue has not been assessed yet.