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

etcd::KeepAlive constructor bug #241

Closed
Haovvu opened this issue Jul 20, 2023 · 2 comments · Fixed by #242
Closed

etcd::KeepAlive constructor bug #241

Haovvu opened this issue Jul 20, 2023 · 2 comments · Fixed by #242
Labels

Comments

@Haovvu
Copy link

Haovvu commented Jul 20, 2023

当构造函数的参数lease_id指定为0或不指定时,库中的注释说运行时库会自动分配一个lease,但事实上没有自动分配id,id仍然是0.

@sighingnow sighingnow added the bug label Jul 20, 2023
@sighingnow
Copy link
Member

Try client.leasekeepalive() as a workaround.

@sighingnow
Copy link
Member

Closing as fixed in main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants