You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@distributedlog.apache.org by "Liang Xie (JIRA)" <ji...@apache.org> on 2016/12/02 08:20:58 UTC

[jira] [Assigned] (DL-80) recordSetWriter has multi-thread issue

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

Liang Xie reassigned DL-80:
---------------------------

    Assignee: Liang Xie

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