poorbarcode commented on PR #22283:
URL: https://github.com/apache/pulsar/pull/22283#issuecomment-2012394478

   @codelipenghui 
   
   > We are using a failed future to ensure the new subscribe request from the 
same consumer should only be accepted once the old subscribe request is done. 
So I think the reasonable fix it to avoid the new subscribe request remove the 
failed future from the old subscribe request.
   > And we already have the mechanism to remove the failed future finally by 
the previous subscribe request.
   
   Good suggestion, already changed the solution: The subsequent subscribing 
will always fail until the previous one is done even if the previous 
subscribing was timed out in the client view, which guarantees that there is no 
race condition about twice subscribing.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to