Jepsen analysis of jetcd 0.8.2, the Java client for etcd (August 2024)
Last verified:
Jepsen showed that the official Java client for etcd silently retries transactions that may already have been applied, so a single request can execute twice and clients can be told a successful write failed. The problem lies in the client library, not the etcd server, and had existed for about two and a half years. Disabling client retries avoids it.
Funding: Independent, uncompensated
Results
Results not reproduced here due to the source's license; see the original: jepsen.io.
Workload
- Description
- List-append and write/read register transactions issued through jetcd, checked for lost updates, aborted reads and cyclic dependencies.
- Dataset
- Synthetic keys and values
- Metrics
- safety and isolation anomalies found (qualitative)
Hardware
| Environment | test cluster (details in report) |
|---|
Systems tested
- etcd jetcd 0.5.0, 0.6.0 and 0.8.2 (client); etcd server version not stated · etcd cluster accessed through the official Java client
Methodology notes
Independent, unpaid analysis built on Jepsen's 2020 etcd test suite. Only process crashes were injected. No fixed release was available at publication; the report recommends setting retryMaxAttempts to 0. We list it under etcd because it affects applications using etcd from Java.
Reproducible: yes, scripts and configuration are public.
Data license
Not stated by the source.
Jepsen reports are copyright Jepsen LLC with no open licence. We summarise findings in our own words and link to the report; no text or figures are copied.
All benchmarks · Benchmark policy
Sources
Last verified:
- jepsen.io/analyses/jetcd-0.8.2 jepsen.io
Found an error? See how to report a correction.