gRPC status 15: DATA_LOSS

DATA_LOSS is gRPC status code 15. Data was lost or corrupted beyond recovery, such as stored data that fails its checksum. The client cannot fix it.

Updated

Usual causes

  • Stored data failed a checksum or could not be read back.
  • A file or object was truncated.

What to check

  1. The server's storage and its logs; the client cannot fix this.
  2. Whether a backup or replica holds a good copy.

What it looks like

A typical error, as a Go client prints it: rpc error: code = DataLoss desc = chunk 18 failed checksum

Retry, and the HTTP equivalent

DATA_LOSS
Code15
NameDATA_LOSS
In istek's status bardata_loss
RetryNo.
HTTP status500

istek names the status of every call it makes, data_loss included, and explains transport failures in plain words. See istek.

istek, $29 once

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

Buy istek · $29