SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-549
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Matan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

PaginationHibernateIndexEntitiesIndexer shouldn't fill up second-level cache

Created: 21/Feb/08 02:38 AM   Updated: 21/Feb/08 12:26 PM
Component/s: Compass::Gps
Affects Version/s: 2.0 M1
Fix Version/s: 2.0.0 M3


 Description  « Hide
I noticed by chance that the PaginationHibernateIndexEntitiesIndexer doesn't consider second-level caching during indexing. Because of this it could potentially fill up the second-level cache with the complete object model while indexing.

I suggest either setting session.setCacheMode(CacheMode.IGNORE) or session.setCacheMode(CacheMode.GET) before starting the indexing.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 21/Feb/08 12:26 PM
Added IGNORE on the cache mode. Try tonight nightly for the fix.