[hibernate-issues] [JIRA] (HSEARCH-3719) Support a "degraded mode" where failure to contact Elasticsearch or index documents does not affect the whole application

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Thu Feb 27 12:51:06 EST 2020


Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *updated* an issue

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiZTczMmQzYWY2YWU3NDRlYTg3NDFmZjFlYTI2YzU0MGEiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-3719?atlOrigin=eyJpIjoiZTczMmQzYWY2YWU3NDRlYTg3NDFmZjFlYTI2YzU0MGEiLCJwIjoiaiJ9 ) HSEARCH-3719 ( https://hibernate.atlassian.net/browse/HSEARCH-3719?atlOrigin=eyJpIjoiZTczMmQzYWY2YWU3NDRlYTg3NDFmZjFlYTI2YzU0MGEiLCJwIjoiaiJ9 ) Support a "degraded mode" where failure to contact Elasticsearch or index documents does not affect the whole application ( https://hibernate.atlassian.net/browse/HSEARCH-3719?atlOrigin=eyJpIjoiZTczMmQzYWY2YWU3NDRlYTg3NDFmZjFlYTI2YzU0MGEiLCJwIjoiaiJ9 )

Change By: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

In some applications, indexing and searching are important, but not nearly as much as the rest of the application. If Elasticsearch is down, these applications would rather continue operating as usual and just log the errors.

This means in particular that:

# Bootstrap must continue even if the Elasticsearch cluster cannot be reached. It should be possible if the Elasticsearch version was provided as part of the configuration.
# Exceptions thrown during indexing should not be propagated to the application, but should rather be logged.

We'll probably need some sort of global configuration that affects both the ORM mapper (for item #1) and the Elasticsearch backend (for item # 1 2 ).

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

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#100121- sha1:0fbe7c1 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200227/dcd4e3e5/attachment.html 


More information about the hibernate-issues mailing list