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

DataImportHandler should not commit if no data has been updated

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Labels:
      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

              • Assignee:
                shalinmangar Shalin Shekhar Mangar
                Reporter:
                wojtekpia Wojtek Piaseczny
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: