Uploaded image for project: 'Solr Search Provider'
  1. Solr Search Provider
  2. MGNLEESOLR-15

DataIndexer sends "Successful indexing" message also when indexing fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mdivilek Milan Divilek
              mdivilek Milan Divilek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD