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) fails
Added test IgniteDynamicCacheMultinodeTest.
This message was sent by Atlassian JIRA