You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/28 07:25:00 UTC

[jira] [Commented] (IGNITE-9723) Critial section should be wrapped correctly for GridCacheDatabaseSharedManager

    [ https://issues.apache.org/jira/browse/IGNITE-9723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16631467#comment-16631467 ] 

ASF GitHub Bot commented on IGNITE-9723:
----------------------------------------

GitHub user Mmuzaf opened a pull request:

    https://github.com/apache/ignite/pull/4862

    IGNITE-9723: use blockingSectionBegin method to wrap exch future

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Mmuzaf/ignite ignite-9723

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/4862.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4862
    
----
commit e1d0df6c1e647f523c10f424d642564122f0119e
Author: Maxim Muzafarov <ma...@...>
Date:   2018-09-28T07:23:56Z

    IGNITE-9723: use blockingSectionBegin method to wrap exch future

----


> Critial section should be wrapped correctly for GridCacheDatabaseSharedManager
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-9723
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9723
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.6
>            Reporter: Maxim Muzafarov
>            Assignee: Maxim Muzafarov
>            Priority: Major
>
> `blockingSectionBegin`  should be used here
> {code:java|title=GridCachePartitionExchangeManager:2687}
> blockingSectionEnd();
> try {
>  resVer = exchFut.get(exchTimeout, TimeUnit.MILLISECONDS);
> } finally {
>  blockingSectionEnd();
> }
>  {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)