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

DataImportHandler should not commit if no data has been updated

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.4
    • None

    Description

      The DataImportHandler always finishes an import with a commit, even if it retrieved no data from its data source. Add a short circuit to not commit if no data was imported.

      Related discussion:
      http://www.nabble.com/Performance-Hit-for-Zero-Record-Dataimport-td21572935.html

      Attachments

        1. SOLR-974.patch
          4 kB
          Shalin Shekhar Mangar
        2. SOLR-974.patch
          4 kB
          Shalin Shekhar Mangar

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              wojtekpia Wojtek Piaseczny
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: