Justine Olshan created KAFKA-15674: -------------------------------------- Summary: Consider making RequestLocal thread safe Key: KAFKA-15674 URL: https://issues.apache.org/jira/browse/KAFKA-15674 Project: Kafka Issue Type: Improvement Reporter: Justine Olshan
KAFKA-15653 found an issue with using the a request local on multiple threads. The RequestLocal object was originally designed in a non-thread-safe manner for performance. It is passed around to methods that write to the log, and KAFKA-15653 showed that is it not too hard to accidentally share between different threads. Given all this, and new changes and dependencies in the project compared to when it was first introduced, we may want to reconsider the thread safety of ThreadLocal. -- This message was sent by Atlassian Jira (v8.20.10#820010)