mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-16 15:53:35 +00:00
This should always be etcdserver.ErrLeaderChanged, but actually apparently it's not always: non-retryable error: etcdserver: leader changed The "non-retryable" comes from our code. The "leader changed" message appears to come from etcdserver, but there appear to be circumstances where it has a suffix, or it could get wrapped, so we check for the string being contained in an error. This is not pretty. |
||
|---|---|---|
| .. | ||
| embed.go | ||
| leasedkv.go | ||
| leasedkv_test.go | ||