-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: PURGEALL - INFINISPAN CACHESTORE - NOT FULLY CLEARED
PostPosted: Mon Jun 12, 2017 11:42 am 
Beginner
Beginner

Joined: Sun Aug 16, 2015 3:21 am
Posts: 27
Hi,

Quote:
I was profiling one of the Search Application and I noticed when I re-index with option purgeallOnStart using Mass Indexer, it does delete entries from infinispan caches but sometimes it leaves more than 50% of cache entries still there (especially in data cache). For example if I have 1200 entries in data cache, it will leave 700+ there and next time when re-indexing finished I will have 2000 or so in cache.


Quote:
Am I missing something....? I would expect purgeAll means no more required and simply do a fresh start whatever is being stored in backend cachestore...



Please guide as I am unable to conclude anything about this behaviour. I am using Infinispan 7.2.X and Search 5.4.0.

Thanks in Advance.


Top
 Profile  
 
 Post subject: Re: PURGEALL - INFINISPAN CACHESTORE - NOT FULLY CLEARED
PostPosted: Mon Jun 12, 2017 12:44 pm 
Beginner
Beginner

Joined: Sun Aug 16, 2015 3:21 am
Posts: 27
Is it because of opened shared reader? So the segments currently have reader opened won't be deleted?[quote][/quote]


Top
 Profile  
 
 Post subject: Re: PURGEALL - INFINISPAN CACHESTORE - NOT FULLY CLEARED
PostPosted: Tue Jun 13, 2017 4:12 am 
Beginner
Beginner

Joined: Sun Aug 16, 2015 3:21 am
Posts: 27
Quote:
Hi Hibernate Team,

Please explain this situation. I want to fully clear down indexes pro grammatically before starting rebuilding all. At the moment MassIndexer.purgeAllOnStart doesn't seem doing what I need. Many Thanks


Top
 Profile  
 
 Post subject: Re: PURGEALL - INFINISPAN CACHESTORE - NOT FULLY CLEARED
PostPosted: Thu Jun 15, 2017 10:04 am 
Beginner
Beginner

Joined: Sun Aug 16, 2015 3:21 am
Posts: 27
Anybody can help please (Hibernate Team)? At least give me a direction to look at.

Quote:
Problem is in case of Infinispan if space is not reclaimed instantly, it means more memory used. I did profiling and 2GB indexes once needed 5GB ram once loaded (pre-loaded in infinispan) while re-indexing and it stayed 4+GB used and then I had to delete the indexes manually from cache store and redo it.


Quote:
If it is all Lucene and filesystem -> SPACE belongs to disk space that you might not worry about.


Top
 Profile  
 
 Post subject: Re: PURGEALL - INFINISPAN CACHESTORE - NOT FULLY CLEARED
PostPosted: Tue Jun 27, 2017 5:23 am 
Beginner
Beginner

Joined: Sun Aug 16, 2015 3:21 am
Posts: 27
This question is still outstanding. I request Hibernate Team to please respond or give me a guideline if it needs bit of R&D.

Quote:
I suspect infinispan cache store fro JDBC might have problems... but this is my guess.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.