Princess Celestia Posted April 29, 2023 Posted April 29, 2023 In a community set up to use Elasticsearch, the Elasticsearch server becoming unavailable for any reason, even temporarily, causes Invision Community to begin throwing unhandled exceptions. It's most obvious on user profiles which turn into public-facing internal server errors when this happens. This situation would make sense to handle more gracefully by detecting it and, at minimum, doing at least the following: Show an alert to administrators that the Elasticsearch server is inaccessible, similar to the ones that appear when the Redis server or background tasks aren't working correctly. Gracefully degrade user profiles and other areas of the suite that depend on the search engine to display everything they can which doesn't require the search engine (profiles without activity feeds or with empty activity feeds, for example). Martin A. and ptprog 2
Recommended Posts