[MGNLEESOLR-15] DataIndexer sends "Successful indexing" message also when indexing fails Created: 16/Dec/14  Updated: 27/Jan/15  Resolved: 07/Jan/15

Status: Closed
Project: Solr Search Provider
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0

Type: Bug Priority: Major
Reporter: Milan Divilek Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

How to reproduce:
1. Shutdown sold server or change solr baseURL to non-existing sold server
2. Allow /modules/content-indexer/config/indexers/websiteIndexer (enabled=true) and remove property "indexed" if exists
3. Log will be overcrowded with log message ERROR solrsearchprovider.logic.indexer.SolrSearchIndexer: Server refused connection at: http://localhost:8983/solr, but "Successful indexing to Solr" is send to messagesManager from info.magnolia.module.indexer.DataIndexer#init

Exception handling needs to be refactored


Generated at Mon Feb 12 10:59:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.