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/04 05:25:15 UTC

[GitHub] [pulsar-client-go] wuYin commented on issue #461: Producer can enter unresponsive retry loop on disconnect (ignoring send context)

wuYin commented on issue #461:
URL: https://github.com/apache/pulsar-client-go/issues/461#issuecomment-773038775


   #### Issue
   Infinite reconnection caused the message sending timeout checking doesn't work? If so, it is an known bug
   
   #### Background
   The context passed to Send is actually not used, send timeout checking will be done before batch flush which drivered by flush ticker
   When broker connection broken, partition producer blocked to reconnect until succeed,  and further blocked it's eventloop goroutine, eventually there is no chance to check send timeout
   
   This feature introduced in https://github.com/apache/pulsar-client-go/pull/394, and it's my mistake, I tried fixed in https://github.com/apache/pulsar-client-go/pull/460
   
   Hope this explanation helps


----------------------------------------------------------------
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