[hibernate-issues] [JIRA] (HSEARCH-3900) drop-and-create strategy is not working at app. startup when "hibernate.search.autoregister_listeners" is set to false. And if true, startup index creation thread are not released, sending the app in out of memory.

Ronak S (JIRA) jira at hibernate.atlassian.net
Tue Apr 28 05:24:22 EDT 2020


Ronak S ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5ea56c8496bbcb0b852580f0 ) *commented* on HSEARCH-3900 ( https://hibernate.atlassian.net/browse/HSEARCH-3900?atlOrigin=eyJpIjoiOGNiOTY0MTI1NjJmNDJlYzg5M2E4ZDc3Njk3YWZkZmEiLCJwIjoiaiJ9 )

Re: drop-and-create strategy is not working at app. startup when "hibernate.search.autoregister_listeners" is set to false. And if true, startup index creation thread are not released, sending the app in out of memory. ( https://hibernate.atlassian.net/browse/HSEARCH-3900?atlOrigin=eyJpIjoiOGNiOTY0MTI1NjJmNDJlYzg5M2E4ZDc3Njk3YWZkZmEiLCJwIjoiaiJ9 )

Ok, but we are only using elastic search indexes. And on one application we are only pointing it to one elaticsearch cluster that is locally on that box only. So as far as I know, we are not mixing these two things. As I’ve not provided any local file directory for lucene under the hibernate config. And hibernate config only points to a single elastic search cluster.

Also please look below in the snapshot of my local tomcat server. You can see hibernate search threads. These threads keep on running intermittently and never stops.

You can also see one sync consumer thread for TBWC30 index, just like this we also see threads for other indexes and these keeps on going.

( https://hibernate.atlassian.net/browse/HSEARCH-3900#add-comment?atlOrigin=eyJpIjoiOGNiOTY0MTI1NjJmNDJlYzg5M2E4ZDc3Njk3YWZkZmEiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3900#add-comment?atlOrigin=eyJpIjoiOGNiOTY0MTI1NjJmNDJlYzg5M2E4ZDc3Njk3YWZkZmEiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:29f7b81 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200428/6fde01ac/attachment.html 


More information about the hibernate-issues mailing list