[ 
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.5)
                   2.6

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

Reply via email to