Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13167

Cache Store fails to close connection: writeBehind + TRANSACTIONAL + readThrough

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.8.1
    • Fix Version/s: None
    • Component/s: cache
    • Labels:
      None
    • Ignite Flags:
      Release Notes Required

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                slava.koptilin Vyacheslav Koptilin
                Reporter:
                ilyak Ilya Kasnacheev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: