[jira] [Created] (IGNITE-2898) Optimize putIfAbsent optimistic call in a case of cache miss

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

[jira] [Created] (IGNITE-2898) Optimize putIfAbsent optimistic call in a case of cache miss

Anton Vinogradov (Jira)
Alexey Goncharuk created IGNITE-2898:
----------------------------------------

             Summary: Optimize putIfAbsent optimistic call in a case of cache miss
                 Key: IGNITE-2898
                 URL: https://issues.apache.org/jira/browse/IGNITE-2898
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 1.5.0.final
            Reporter: Alexey Goncharuk


Suppose a cache putIfAbsent is run on a primary node and the cache is empty. Currently putIfAbsent will call loadMissing() which will result in a SingleGetFuture creation.
It looks like we can avoid it if we are on a primary node and rebalancing is finished.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)