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

fix etcd leaseId does not renew #855

Merged
merged 1 commit into from
Jul 12, 2023
Merged

fix etcd leaseId does not renew #855

merged 1 commit into from
Jul 12, 2023

Conversation

tutumagi
Copy link
Contributor

The etcd leaseId does not renew in keepAliveForever. Because leaseId is always greater than zero after startMember.

Reproduce: Shut down etcd server, and restart etcd server after 30 seconds. It will print error: requested lease not found.

Fix:
Remove the statement: if leaseId <= 0 {}.

@tutumagi
Copy link
Contributor Author

Fix the #853

@tutumagi tutumagi changed the title fix lease does not renew #853 fix etcd leaseId does not renew Jul 11, 2023
@rogeralsing rogeralsing merged commit db3ecc5 into asynkron:dev Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants