Description
At the end of
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager#processCacheStartRequests
method we're initializing affinity for cache groups starting at current exchange.
We do it one-by-one and synchronously wait for AffinityFetchResponse for each of the starting groups. This is inefficient. We may parallelize this process and speed up caches starting process.
NOTE: There are also a lot of affinity recalculation methods in:
CacheAffinitySharedManager
which all looks like iterate over cache groups and recalculate affinity for all of them. We can easily speed-up each of such methods executing in parallel affinity re-calculation for each of cache groups.
Attachments
Issue Links
- links to