Rename M_DIRTY_WRITE -> M_CONCURRENT_WRITE

"Dirty write" refers to a specific SQL phenomenon regarding transaction
isolation, see e.g.
https://blog.acolyer.org/2016/02/24/a-critique-of-ansi-sql-isolation-levels/

Instead, prefer the word "concurrent".
hughns/simple-rendezvous-capability
David Robertson 7 months ago
parent 43d9871cd7
commit 3fecfcd5e0
No known key found for this signature in database
GPG Key ID: 903ECE108A39DEDD

@ -165,7 +165,7 @@ HTTP response codes, and Matrix error codes:
- `202 Accepted` - payload updated
- `400 Bad Request` (`M_MISSING_PARAM`) - a required header was not provided.
- `404 Not Found` (`M_NOT_FOUND`) - rendezvous URI is not valid (it could have expired)
- `412 Precondition Failed` (`M_DIRTY_WRITE`, **a new error code**) - when the ETag does not match
- `412 Precondition Failed` (`M_CONCURRENT_WRITE`, **a new error code**) - when the ETag does not match
- `413 Payload Too Large` (`M_TOO_LARGE`) - the supplied payload is too large
- `429 Too Many Requests` (`M_UNKNOWN`) - the request has been rate limited

Loading…
Cancel
Save