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/04/14 17:43:41 UTC

[GitHub] [pulsar] merlimat commented on pull request #10215: Fix IllegalReferenceCountException while getting schema

merlimat commented on pull request #10215:
URL: https://github.com/apache/pulsar/pull/10215#issuecomment-819699721


   The protobuf object is only valid within the context of the IO thread that is deserializing it. If we need some of the fields to be used from different threads, these values have to be copied out. eg: https://github.com/apache/pulsar/blob/master/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java#L866


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