You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ilya Kasnacheev (Jira)" <ji...@apache.org> on 2020/06/19 16:43:00 UTC

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

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)