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 2022/05/14 14:24:37 UTC

[GitHub] [pulsar] Technoboy- opened a new pull request, #15601: Use dispatchRateLimiterLock to update dispatchRateLimiter.

Technoboy- opened a new pull request, #15601:
URL: https://github.com/apache/pulsar/pull/15601

   ### Motivation
   
   https://github.com/apache/pulsar/blob/58c82a71beb7506e422def391af532945be2b7a7/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java#L377-L399
   
   The object lock may change when execute at line-382, and cause the lock to become useless.
   
   So use `dispatchRateLimiterLock` to synchronize.
   
   ### Documentation
   
   - [x] `no-need-doc` 
   (Please explain why)
   


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] codelipenghui merged pull request #15601: [fix][broker] Use dispatchRateLimiterLock to update dispatchRateLimiter.

Posted by GitBox <gi...@apache.org>.
codelipenghui merged PR #15601:
URL: https://github.com/apache/pulsar/pull/15601


-- 
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: commits-unsubscribe@pulsar.apache.org

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