[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 04:30:38 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=eyJpIjoiNGYyOWI1MzU3OTM2NDFjYTkyYzg5Zjc3ZDI5M2Q2ZTUiLCJwIjoiaiJ9 )

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=eyJpIjoiNGYyOWI1MzU3OTM2NDFjYTkyYzg5Zjc3ZDI5M2Q2ZTUiLCJwIjoiaiJ9 )

I’m really Sorry, I could not understand the below comments. could you please elaborate on these. So I could point you to the info you need.

> 
> 
> 
> By the way, the second thread dump has org.hibernate.search.backend.impl.lucene.SyncWorkProcessor
> in the stack trace, which indicates you are also running a Lucene backend
> * *on top of* * the Elasticsearch backend. This typically can only happen
> if you have two instances of Hibernate Search running, which should only
> happen if you have two instances of your application running with
> different configuration. Is that on purpose?
> 
> 

And BTW do you want to say that we are pointing the same Elastic Search instance from two different instances/or servers of our application?

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

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/68670f0d/attachment.html 


More information about the hibernate-issues mailing list