lhotari opened a new pull request, #15269:
URL: https://github.com/apache/pulsar/pull/15269

   ### Motivation
   
   
[FastThreadLocalStateCleaner](https://github.com/apache/pulsar/blob/master/buildtools/src/main/java/org/apache/pulsar/tests/FastThreadLocalStateCleaner.java)
 is used in apache/pulsar tests to clean up state stored in thread local fields 
using Netty's FastThreadLocal. This solution was added in #10195 to reduce test 
flakiness caused by state carried on from one test to another.
   
   [This change](https://github.com/netty/netty/pull/12057) included in 
4.1.75.Final added the logging when the thread local state is accessed from 
another thread. This logging clutters the test run logs and therefore it should 
be eliminated.
   Pulsar was upgraded to Netty 4.1.76.Final in #15212.
   
   ### Modifications
   
   - use reflection to access the field directly instead of calling the method 
that contains the warning logging.


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

Reply via email to