In what area(s)?
/area runtime
Describe the proposal
When encountering an ETag mismatch while trying to update state, Dapr will return an HTTP 500 status code. It would be better to return an HTTP 409 Conflict status code to distinguish from other server failures.
The error code in the HTTP response body is ERR_STATE_SAVE, which is also pretty generic for an ETag conflict.
In what area(s)?
Describe the proposal
When encountering an ETag mismatch while trying to update state, Dapr will return an HTTP 500 status code. It would be better to return an HTTP 409 Conflict status code to distinguish from other server failures.
The error code in the HTTP response body is
ERR_STATE_SAVE, which is also pretty generic for an ETag conflict.