mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
This tries to be more correct/careful about retries (checking against the actual exported errors from etcdserver, not just the string representations), and also supports retrying on timeouts, not just on client changes. It can also retry more than once, mostly in case we hit one of each of those. For timeout errors, we mostly use the fact that it's a timeout to give us a reasonable backoff, but then delay a fraction of a second longer just to give it a moment to recover if the ErrTimeout is masking something else that took longer. |
||
|---|---|---|
| .. | ||
| embed.go | ||
| leasedkv.go | ||
| leasedkv_test.go | ||