kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanth Sundarrajan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-6066) Use of SimpleDateFormat in RocksDBWindowStore may not be Threadsafe
Date Sun, 22 Oct 2017 01:51:00 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-6066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214149#comment-16214149
] 

Srikanth Sundarrajan commented on KAFKA-6066:
---------------------------------------------

Looks like code has been refactored and moved to [Segments|https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/state/internals/Segments.java]
class. Will check and revert if this remains an issue.

> Use of SimpleDateFormat in RocksDBWindowStore may not be Threadsafe
> -------------------------------------------------------------------
>
>                 Key: KAFKA-6066
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6066
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Srikanth Sundarrajan
>            Priority: Minor
>
> Currently SimpleDateFormat is used to construct segmentId from segmentName and vice-versa.
This however may not be thread safe if WindowStore is accessed by more than one SteamTask/thread
concurrently. 
> Ref: *org.apache.kafka.streams.state.internals.RocksDBWindowStore#formatter*



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message