ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5763) Race in concurrent client cache start
Date Mon, 17 Jul 2017 09:32:00 GMT
Semen Boikov created IGNITE-5763:

             Summary: Race in concurrent client cache start
                 Key: IGNITE-5763
                 URL: https://issues.apache.org/jira/browse/IGNITE-5763
             Project: Ignite
          Issue Type: Bug
          Components: cache
            Reporter: Semen Boikov
            Assignee: Semen Boikov
            Priority: Critical
             Fix For: 2.2

Issue was introduced as part of IGNITE-5272, this race is possible:
- two threads on client call getOrCreateCache(s)
- one of threads initiates cache start and sends custom event, this event is processed in
discovery thread but is not passed yet to DiscoveryWorker
- second thread sees that cache descriptor already exists and adds 'client cache start' event
in DiscoveryWorker before cache start event is added in DiscoveryWorker
- when 'client cache start' event processed, cache does not exists and getOrCreateCache(s)

Added test IgniteDynamicCacheMultinodeTest.

This message was sent by Atlassian JIRA

View raw message