[jira] [Created] (IGNITE-13167) Cache Store fails to close connection: writeBehind + TRANSACTIONAL + readThrough

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

[jira] [Created] (IGNITE-13167) Cache Store fails to close connection: writeBehind + TRANSACTIONAL + readThrough

Anton Vinogradov (Jira)
Ilya Kasnacheev created IGNITE-13167:
----------------------------------------

             Summary: Cache Store fails to close connection: writeBehind + TRANSACTIONAL + readThrough
                 Key: IGNITE-13167
                 URL: https://issues.apache.org/jira/browse/IGNITE-13167
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 2.8.1
            Reporter: Ilya Kasnacheev


Please see referenced mailing list thread.

If there is an ongoing transactional (cache is transactional, put uses an implicit transaction, tx != null) then org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter#loadFromStore will not call sessionEnd() - see sessionEnd0() method.
If write behind is also enabled, then cache store is not invoked during the operation and connection will never be closed.

So, a combination of TRANSACTIONAL cache, implicit transaction, loadFromCache and write behind will leak a connection every time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)