massakam commented on issue #3630: Broker can not respond to client requests
URL: https://github.com/apache/pulsar/issues/3630#issuecomment-467935631
 
 
   1. A thread `pulsar-io-x-x` locks a `PersistentSubscription` object to add a 
consumer.
   2. In order to add the consumer, it is necessary to refer to 
`max_consumers_per_topic` included in the policy of the namespace, and it is 
assumed that a thread `ForkJoinPool.commonPool-worker-x` is in charge of that.
   3. However, suppose that thread `ForkJoinPool.commonPool-worker-x` tries to 
add another consumer to the same subscription of the same topic before the 
process 2.
   4. 3 does not complete as the `PersistentSubscription` object is locked. 2 
also does not complete as the thread `ForkJoinPool.commonPool-worker-x` remains 
blocked.
   
   What do you think about the above assumption?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to