Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10216

DIH: last_index_time not updated on if 0 docs updated

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 5.5
    • None
    • None

    Description

      After getting our interval for calling delta index shorter and shorter, I
      have found out that last_index_time in dataimport.properties is not
      updated every time the indexing runs, it is skipped if no docs where added.

      This happens at least in the following scenario:

      • running delta as full index
        ( /dataimport?command=full-import&clean=false&commit=true )
      • Solrcloud setup, so dataimport.properties is in zookeeper
      • Solr 5.5.0

      I understand skipping the commit on the index if no docs were updated is a
      nice optimization, but I believe the last_index_time info should be updated
      in all cases, so it reflects reality. We, for instance, are looking at this
      piece of information in order to do other stuff.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jmlucjav jmlucjav
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: