gRPC status 10: ABORTED

ABORTED is gRPC status code 10. The operation was aborted, typically by a concurrency conflict such as a failed transaction or sequencer check.

Updated

Usual causes

  • A transaction was rolled back because of a conflicting write.
  • An etag or version check failed: someone else changed the entity first.

What to check

  1. Whether two writers are updating the same entity at once.
  2. That the client re-reads before retrying, rather than sending the stale version again.

What it looks like

A typical error, as a Go client prints it: rpc error: code = Aborted desc = transaction aborted due to conflict, retry

Retry, and the HTTP equivalent

ABORTED
Code10
NameABORTED
In istek's status baraborted
RetryYes, but at a higher level: re-read, re-apply the change, then send again.
HTTP status409

istek names the status of every call it makes, aborted included, and explains transport failures in plain words. See istek vs Postman for gRPC for how that compares. See istek.

istek, $14.99 once

macOS 14.0+ · Apple Silicon · no account, no telemetry

Buy istek · $14.99