lhotari opened a new pull request #14556:
URL: https://github.com/apache/pulsar/pull/14556
### Motivation
- sharing the thread local MessageMetadata instance to other threads will
cause issues
- Thread local variable is
org.apache.pulsar.common.protocol.Commands#LOCAL_MESSAGE_METADATA
### Additional context
- I was trying to find a fix for #14436 . My assumption was that the problem
could occur as a result of sharing the thread local MessageMetadata instance to
other threads. However, I'm not sure if this PR fixes that or not.
### Modifications
- make a copy when the thread local instance might be shared later
--
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]