GitHub user sk0x50 opened a pull request:
https://github.com/apache/ignite/pull/2490 IGNITE-1094 Ignite.createCache(CacheConfiguration) hangs if some exception occurs during cache initialization
The following algorithm was implemented in order to fix hangs during dynamic start of cache(s):
> 1. all nodes try to init cache locally
> 2. if error occurs on any node then exchange coordinator should be notified.
> 3. coordinator should send org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsFullMessage message containing error flag to all cache nodes
> 4. all cache nodes should revert the changes
> 5. exception should be thrown on initiator node (who called create cache)
You can merge this pull request into a Git repository by running:
$ git pull
https://github.com/sk0x50/ignite ignite-1094-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2490.patchTo close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2490
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at
[hidden email] or file a JIRA ticket
with INFRA.
---