Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support lease read #16299

Open
xingyong opened this issue Jul 25, 2023 · 0 comments · May be fixed by #16669
Open

Support lease read #16299

xingyong opened this issue Jul 25, 2023 · 0 comments · May be fixed by #16669

Comments

@xingyong
Copy link

What would you like to be added?

etcd raft has already supported two readonly options: ReadOnlySafe and ReadOnlyLeaseBased, and the default value is ReadOnlySafe. They can be configured in raft.Config. As we know, ReadOnlyLeaseBased is better for performance. So, etcd may be better to support this config in embed.NewConfig.

Why is this needed?

For performance considerations.

@highpon highpon linked a pull request Sep 30, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants