[ 
https://issues.apache.org/jira/browse/KAFKA-17168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai resolved KAFKA-17168.
------------------------------------
    Fix Version/s: 3.9.0
       Resolution: Fixed

> The logPrefix of RemoteLogReader/RemoteStorageThreadPool is not propagated 
> correctly
> ------------------------------------------------------------------------------------
>
>                 Key: KAFKA-17168
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17168
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Kuan Po Tseng
>            Priority: Minor
>             Fix For: 3.9.0
>
>
> RemoteLogReader [0] and RemoteStorageThreadPool [1] override the method 
> `logPrefix` instead of passing to constructor. However, `LogContext` does not 
> use the method `logPrefix` to set the prefix inner. That means the override 
> method is no-op and the expected prefix is never propagated.
> [0] 
> https://github.com/apache/kafka/blob/66655ab49a9401a62e1e99e637e0c5bd5a1ba550/core/src/main/java/kafka/log/remote/RemoteLogReader.java#L59
> [1] 
> https://github.com/apache/kafka/blob/66655ab49a9401a62e1e99e637e0c5bd5a1ba550/storage/src/main/java/org/apache/kafka/storage/internals/log/RemoteStorageThreadPool.java#L49



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to