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/07/17 17:05:00 UTC

[jira] [Commented] (IGNITE-9024) Wrong usage of idxLatch in DynamicIndexAbstractConcurrentSelfTest

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

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

GitHub user x-kreator opened a pull request:

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

    IGNITE-9024 Wrong usage of idxLatch in DynamicIndexAbstractConcurrent…

    …SelfTest

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

    $ git pull https://github.com/x-kreator/ignite ignite-9024

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

    https://github.com/apache/ignite/pull/4376.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 #4376
    
----
commit 9aab8df70838c921939bdbc5618f277c8664e7bd
Author: Dmitriy Sorokin <sb...@...>
Date:   2018-07-17T16:53:39Z

    IGNITE-9024 Wrong usage of idxLatch in DynamicIndexAbstractConcurrentSelfTest

----


> Wrong usage of idxLatch in DynamicIndexAbstractConcurrentSelfTest
> -----------------------------------------------------------------
>
>                 Key: IGNITE-9024
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9024
>             Project: Ignite
>          Issue Type: Test
>    Affects Versions: 2.5
>            Reporter: Dmitriy Sorokin
>            Assignee: Dmitriy Sorokin
>            Priority: Minor
>              Labels: MakeTeamcityGreenAgain
>             Fix For: 2.7
>
>
> DynamicIndexAbstractConcurrentSelfTest has BlockingIndexing inplementation which allows synchronize indexing operations with other concurrent routines. Transition to waiting for unblock indexing state being notified from awaitIndexing method by countDown() call on idxLatch, which should be awaiting on test thread, but calls of countDown() method on idxLatch instances are present in that code points too.
> Replace of countDown() calls by await() calls on idxLatch instances is needed.



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