Skip to content

Conversation

@reltuk
Copy link
Contributor

@reltuk reltuk commented Apr 7, 2024

In the cluster commithook, we had a failure mode where we would leak a *grpc.ClientConn without closing it. It turns out, if an outbound request has made on a ClientConn, it will continue retrying the connection. And we would leak one on a fixed interval, resulting in ever-increasing CPU utilization.

…Conn when we are done with it.

In the cluster commithook, we had a failure mode where we would leak a
*grpc.ClientConn without closing it. It turns out, if an outbound request has
made on a ClientConn, it will continue retrying the connection. And we would
leak one on a fixed interval, resulting in ever-increasing CPU utilization.
@coffeegoddd
Copy link
Contributor

@reltuk DOLT

comparing_percentages
100.000000 to 100.000000
version result total
c487288 ok 5937457
version total_tests
c487288 5937457
correctness_percentage
100.0

@coffeegoddd
Copy link
Contributor

@reltuk DOLT

comparing_percentages
100.000000 to 100.000000
version result total
ec67938 ok 5937457
version total_tests
ec67938 5937457
correctness_percentage
100.0

Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 🚢

@reltuk reltuk merged commit 0db7250 into main Apr 8, 2024
@reltuk reltuk deleted the aaron/grpc-close-clientconn branch July 17, 2024 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants