You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/17 07:14:14 UTC

[GitHub] [pulsar-client-go] rueian edited a comment on issue #462: goroutine leak

rueian edited a comment on issue #462:
URL: https://github.com/apache/pulsar-client-go/issues/462#issuecomment-780357151


   There are also goroutine leaks in `consumer_partition.go` and `connection.go`
   
   
   https://github.com/apache/pulsar-client-go/blob/25f3075176f853f5f09d89b3b625e0646432735f/pulsar/internal/connection.go#L333-L338
   
   The `incomingRequestsCh` never closed, therefore this `failLeftRequestsWhenClose` will never exit.
   
   https://github.com/apache/pulsar-client-go/blob/25f3075176f853f5f09d89b3b625e0646432735f/pulsar/consumer_partition.go#L786
   
   The `eventsCh` never closed, there for this `runEventsLoop` will never exit.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org