[jira] [Created] (IGNITE-4658) GridCacheProcessor.createMissingCaches() should be called in a separate thread

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4658) GridCacheProcessor.createMissingCaches() should be called in a separate thread

Anton Vinogradov (Jira)
Valentin Kulichenko created IGNITE-4658:
-------------------------------------------

             Summary: GridCacheProcessor.createMissingCaches() should be called in a separate thread
                 Key: IGNITE-4658
                 URL: https://issues.apache.org/jira/browse/IGNITE-4658
             Project: Ignite
          Issue Type: Improvement
          Components: cache
    Affects Versions: 1.8
            Reporter: Valentin Kulichenko


{{GridCacheProcessor.createMissingCaches()}} method is called during query execution if not all caches are created on the client. If this happen inside a transaction, query fails due to fact that cache can't be created within a transaction.

To work around this and improve usability, this method should start a separate thread where caches will be created, and synchronously join on this thread.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)