Skip to content

Should retry on concurrent modification error #129

@butenkor

Description

@butenkor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions