You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladisav Jelisavcic (JIRA)" <ji...@apache.org> on 2016/03/06 12:15:19 UTC

[jira] [Created] (IGNITE-2768) Public API for data structures should be guarded from being invoked after node is stopped

Vladisav Jelisavcic created IGNITE-2768:
-------------------------------------------

             Summary: Public API for data structures should be guarded from being invoked after node is stopped
                 Key: IGNITE-2768
                 URL: https://issues.apache.org/jira/browse/IGNITE-2768
             Project: Ignite
          Issue Type: Bug
          Components: data structures
    Affects Versions: 1.6
            Reporter: Vladisav Jelisavcic
            Priority: Minor
             Fix For: 1.5.0.final


For such functionality we have GridKernalGateway, which guards all public API calls from being invoked after node is stopped. Public method implementations should be surrounded with ctx.gateway().readLock() and ctx.gateway().readUnlock(). As an example see GridExecutorService.
This ticket is based on conversation: 
[https://issues.apache.org/jira/browse/IGNITE-2735?focusedCommentId=15181493&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15181493]




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