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/15 08:00:22 UTC

[GitHub] [pulsar] massakam opened a new pull request #9587: [broker] Fix NPE that occurs in PersistentStickyKeyDispatcherMultipleConsumers when debug log is enabled

massakam opened a new pull request #9587:
URL: https://github.com/apache/pulsar/pull/9587


   ### Motivation
   
   https://github.com/apache/pulsar/pull/8969 fixed an issue where NPE could occur in `PersistentStickyKeyDispatcherMultipleConsumers`. However, if the log level is debug, I think NPE will occur in the following part as well:
   https://github.com/apache/pulsar/blob/2fd878a8f4bfdd5cffa7fa6450714ec1ad25f514/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentStickyKeyDispatcherMultipleConsumers.java#L183-L184
   
   ### Modifications
   
   If `consumer` is null, "null" will be output to the log as the consumer name.


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



[GitHub] [pulsar] merlimat merged pull request #9587: [broker] Fix NPE that occurs in PersistentStickyKeyDispatcherMultipleConsumers when debug log is enabled

Posted by GitBox <gi...@apache.org>.
merlimat merged pull request #9587:
URL: https://github.com/apache/pulsar/pull/9587


   


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