You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue applies to both 3.5 and the 3.6 (the main branch). I do not get time to verify previous versions.
Steps to reproduce this issue:
Start an etcd cluster with 3 members, and add some K/V data;
Stop all the members;
Start only one member;
Try to issue a serializable request using command something like etcdctl --endpoints http://127.0.0.1:32379 get k1 --consistency="s", then you will get the error like below,
The root cause of this issue is that etcd waits for the ready notification infinitely on startup, please see serve.go#L96. But when the quorum isn't satisfied, the etcd instance will never get the notification.
The etcd instance should NOT wait for the ready notification infinitely; otherwise, it will never be able to serve serializable read request when the quorum isn't satisfied.
I will submit a PR soon, and any feedback is appreciated.
This issue applies to both 3.5 and the 3.6 (the main branch). I do not get time to verify previous versions.
Steps to reproduce this issue:
etcdctl --endpoints http://127.0.0.1:32379 get k1 --consistency="s"
, then you will get the error like below,The root cause of this issue is that etcd waits for the ready notification infinitely on startup, please see serve.go#L96. But when the quorum isn't satisfied, the etcd instance will never get the notification.
The etcd instance should NOT wait for the ready notification infinitely; otherwise, it will never be able to serve serializable read request when the quorum isn't satisfied.
I will submit a PR soon, and any feedback is appreciated.
@serathius @xiang90 @gyuho @ptabor
The text was updated successfully, but these errors were encountered: