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

Hudson commented on DL-80:
--------------------------

SUCCESS: Integrated in Jenkins build distributedlog-nightly-build #136 (See 
[https://builds.apache.org/job/distributedlog-nightly-build/136/])
DL-80: synchronized getLogRecordSetWriter() (sijie: rev 
2a677d15aa8fd2284df125b1ee8be9e8ca8b8437)
* (edit) 
distributedlog-client/src/main/java/com/twitter/distributedlog/client/DistributedLogMultiStreamWriter.java


> recordSetWriter has multi-thread issue
> --------------------------------------
>
>                 Key: DL-80
>                 URL: https://issues.apache.org/jira/browse/DL-80
>             Project: DistributedLog
>          Issue Type: Bug
>          Components: distributedlog-client
>    Affects Versions: 0.4.0
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>             Fix For: 0.4.0
>
>
> Reading code, found there's a minor issue in DistributedLogMultiStreamWriter 
> class. Currenty only flush()&write() have *synchronized*, but 
> getLogRecordSetWriter miss the protection. so it would be possible get an 
> obsolete writer just after flush() happened.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to