tikv / tikv/pd

etcd: use Linearizable in memberList

Open
#8,542 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Enhancement Task

After the etcd server is upgraded to v3.5.x, the MemberList API will return the member list in a linearizable way by default.

If Linearizable is set to false, the member list will be returned with server's local data.

If Linearizable is set to true, it is served with linearizable guarantee. If the server is disconnected from quorum, `MemberList` call will fail.

I've temporarily turned off this feature for compatibility in https://github.com/tikv/pd/pull/8441, but we'd better turn it on in the future.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.