Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9933

Cache components are not stopped after startup error

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When a cache fails to start (e.g. because a store is not available on startup), the cache is not registered in DefaultCacheManager's map, and stopping the cache manager does not stop any of the components that already started (or even the component that failed).

      E.g. in NonStringKeyPreloadTest, the store is not available on startup, and the threads created by HikariCP on startup (in 9.4.x) are not released. The test also leaks an Agroal thread on master, but that is because the test is keeping the connection pool factory in a static field.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: