Andreas: Let me see if I understand correctly: You have two Solr instances pointing at the _same_ NFS-mounted directory. The lock type of "single" implies this. And you're totally and absolutely sure that only _one_ Solr instance writes to that directory _ever_, right? It's not even the case that the two Solrs take turns writing to the index....
It's a little hard to debug this one remotely, but consider adding this <infostream>true</infostream> to your solrconfigs, see: https://cwiki.apache.org/confluence/display/solr/IndexConfig+in+SolrConfig That'll produce a _lot_ of information in the logs, but does log detailed information and if this is some weird path in Solr it should show up in one of the logs. Best, Erick 2015-12-18 0:08 GMT-08:00 Moll, Dr. Andreas <m...@juris.de>: > Hi Shawn, > >>To figure out what's going on, we will need information about your >>server, exactly how you installed Solr, how it is started, how it is >>stopped, etc. > > thanks for your interest in our problem. > > I currently start SolR on Linux via > > solr-5.3.1/bin/solr start -f > > because we are still in a developing phase. > > The data/index directory looks like > > -rw-r--r-- 1 solr users 23100968011 Dez 15 09:57 _3by.fdt > -rw-r--r-- 1 solr users 5796206 Dez 15 09:54 _3by.fdx > -rw-r--r-- 1 solr users 56477 Dez 15 09:54 _3by.fnm > -rw-r--r-- 1 solr users 24574620575 Dez 15 10:00 _3by_Lucene50_0.doc > -rw-r--r-- 1 solr users 36234501 Dez 15 09:46 _3by_Lucene50_0.dvd > -rw-r--r-- 1 solr users 203 Dez 15 09:46 _3by_Lucene50_0.dvm > -rw-r--r-- 1 solr users 59974695274 Dez 15 10:07 _3by_Lucene50_0.pos > -rw-r--r-- 1 solr users 3089766837 Dez 15 10:07 _3by_Lucene50_0.tim > -rw-r--r-- 1 solr users 42080038 Dez 15 10:07 _3by_Lucene50_0.tip > -rw-r--r-- 1 solr users 545 Dez 15 09:54 _3by.si > -rw-r--r-- 1 solr users 59566692561 Dez 15 09:54 _3by.tvd > -rw-r--r-- 1 solr users 9279030 Dez 15 09:46 _3by.tvx > -rw-r--r-- 1 solr users 167 Dez 15 09:54 segments_e > > We produce the index via a separate instance of SolR. > Die Filesystem used by the two SolR instances is a NFS share. > > The Index-lock-file is configured as > > <lockType>single</lockType> > > When the production SolR writes changes in the index directory while the SolR > search server is running, > the search server deletes all index files on shutdown which is initiated via > CTRL-C in the starting shell window. > SolR also deletes the index-files if I perform a core reload via the > web-interface. > > I thought it might be an error in the production SolR, but the files are also > deleted if I shutdown the production > SolR and wait a minute before I reload the index or shutdown the SolR search > instance. > If I shut down the SolR production instance and the index files are not used > in the search instance, they are not deleted. > > > Thanks and best regards > > Andreas Moll > > Vertraulichkeitshinweis > Diese Information und jeder uebermittelte Anhang beinhaltet vertrauliche > Informationen und ist nur fuer die Personen oder das Unternehmen bestimmt, an > welche sie tatsaechlich gerichtet ist. Sollten Sie nicht der > Bestimmungsempfaenger sein, weisen wir Sie darauf hin, dass die Verbreitung, > das (auch teilweise) Kopieren sowie der Gebrauch der empfangenen E-Mail und > der darin enthaltenen Informationen gesetzlich verboten sein kann und > gegebenenfalls Schadensersatzpflichten ausloesen kann. Sollten Sie diese > Nachricht aufgrund eines Uebermittlungsfehlers erhalten haben, bitten wir Sie > den Sender unverzueglich hiervon in Kenntnis zu setzen. > Sicherheitswarnung: Bitte beachten Sie, dass das Internet kein sicheres > Kommunikationsmedium ist. Obwohl wir im Rahmen unseres Qualitaetsmanagements > und der gebotenen Sorgfalt Schritte eingeleitet haben, um einen > Computervirenbefall weitestgehend zu verhindern, koennen wir wegen der Natur > des Internets das Risiko eines Computervirenbefalls dieser E-Mail nicht > ausschliessen.