You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2018/06/26 17:51:25 UTC
[jira] [Updated] (IGNITE-8084) Unlock write lock in
DataStreamerImpl
[ https://issues.apache.org/jira/browse/IGNITE-8084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitriy Pavlov updated IGNITE-8084:
-----------------------------------
Fix Version/s: (was: 2.6)
2.7
> Unlock write lock in DataStreamerImpl
> -------------------------------------
>
> Key: IGNITE-8084
> URL: https://issues.apache.org/jira/browse/IGNITE-8084
> Project: Ignite
> Issue Type: Improvement
> Components: streaming
> Reporter: Ivan Fedotov
> Assignee: Ivan Fedotov
> Priority: Major
> Labels: usability
> Fix For: 2.7
>
>
> In method DataStreamerImpl.CloseEx there is wrire lock without unlock [1]. I think this behavior is based on impossibility to call after closing other public method of DataStreamer, that use read lock.
> It's not correctly that after closing streamer we don't unlock writeLock: I think that we can use *closed* flag to throw exception if streamer will be used after closing.
> [1]https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerImpl.java#L1217
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)