lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Osborn (Created) (JIRA)" <>
Subject [jira] [Created] (SOLR-3366) Restart of Solr during data import causes an empty index to be generated on restart
Date Tue, 17 Apr 2012 17:29:18 GMT
Restart of Solr during data import causes an empty index to be generated on restart

                 Key: SOLR-3366
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler, replication (java)
    Affects Versions: 3.4
            Reporter: Kevin Osborn

We use the DataImportHandler and Java replication in a fairly simple setup of a single master
and 4 slaves. We had an operating index of about 16,000 documents. The DataImportHandler is
pulled periodically by an external service using the "command=full-import&clean=false"
command for a delta import.

While processing one of these commands, we did a deployment which required us to restart the
application server (Tomcat 7). So, the import was interrupted. Prior to this deployment, the
full index of 16,000 documents had been replicated to all slaves and was working correctly.

Upon restart, the master restarted with an empty index and then this empty index was replicated
across all slaves. So, our search index was now empty.

My expected behavior was to lose any changes in the delta import (basically prior to the commit).
However, I was not expecting to lose all data. Perhaps this is due to the fact that I am using
the full-import method, even though it is really a delta, for performance reasons? Or does
the data import just put the index in some sort of invalid state?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message