[ https://issues.apache.org/jira/browse/DL-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15714386#comment-15714386 ]
Sijie Guo commented on DL-80: ----------------------------- [~xieliang007] nice catch. Are you interested in contributing a fix? > 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 > > 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)