InfinispanRegionFactory inadvertently starts the default cache during stop()

Description

stop() invokes stopCacheRegions(), which it turn calls manager.getCache() to access the GlobalComponentRegistry. This will start the default cache - which can be costly - and is completely unnecessary.

Activity

Show:

Former user March 1, 2016 at 11:39 PM

Fixed in master and 5.0 branches.

Scott Marlow February 26, 2016 at 4:24 PM

I verified that this change helped with WFLY-6283. Still need someone to code review the pull request though (Radim or Galder I think).

Paul Ferraro February 26, 2016 at 1:48 PM

This looks like the same issue to me.

Scott Marlow February 26, 2016 at 1:31 PM

https://issues.jboss.org/browse/WFLY-6283 was reported yesterda. I'm not yet sure if this is the same problem (waiting for user to download WildFly build that contains the above 5.0 pull request).

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Created February 18, 2016 at 7:39 PM
Updated March 15, 2016 at 2:10 AM
Resolved March 1, 2016 at 11:39 PM