etcd/etcdserver
Benjamin Wang 00b31512a1 etcdserver: return membership.ErrIDNotFound when the memberID not found
Backport https://github.com/etcd-io/etcd/pull/15095 to 3.4.

When promoting a learner, we need to wait until the leader's applied ID
catches up to the commitId. Afterwards, check whether the learner ID
exist or not, and return `membership.ErrIDNotFound` directly in the API
if the member ID not found, to avoid the request being unnecessarily
delivered to raft.

Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-01-17 06:27:31 +08:00
..
2022-12-19 18:34:04 +08:00
2019-10-09 12:40:12 -07:00
2019-05-28 15:39:35 -07:00
2016-05-12 20:49:40 -07:00
2020-08-12 18:38:35 -07:00
2019-05-28 15:39:35 -07:00