这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@luluz66
Copy link
Contributor

@luluz66 luluz66 commented Jun 12, 2024

Related issues: https://github.com/buildbuddy-io/buildbuddy-internal/issues/3496
During store shutdown, nodehost.Close() sometimes hangs on Publish, because raft
listener leaderUpdated got stuck when leasekeeper shutdown and no one process
leader update events.

This PR adds a method to remove listener. When watchLease() received quitAll
signal, it removes the listener.

@luluz66 luluz66 requested a review from tylerwilliams June 12, 2024 01:17
@luluz66 luluz66 merged commit b3121f7 into master Jun 12, 2024
@luluz66 luluz66 deleted the remove-listener-on-shutdown branch June 12, 2024 01:30
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.

3 participants