You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chengyang <at...@163.com> on 2010/10/26 06:29:43 UTC

after the slave node pull index from master, when will solr del the tmp index dir

I noticed that the slave node have some tmp Index.xxxxx dir that created during the index sync with master, but they are not removed even after serval days. So when will solr del the tmp index dir?

Re: after the slave node pull index from master, when will solr del the tmp index dir

Posted by Jayendra Patil <ja...@gmail.com>.
We faced the same issue.
If you are executing a complete clean build, the Slave copies the complete
index and just switches the pointer in the index.properties to point to the
new index.xxxx directory, leaving behind the old copies. And it does not
clean it up.

Had logged an JIRA and patch to SnapPuller class, you may want to give it a
try -
https://issues.apache.org/jira/browse/SOLR-2156

Regards,
Jayendra

2010/10/26 Chengyang <at...@163.com>

> I noticed that the slave node have some tmp Index.xxxxx dir that created
> during the index sync with master, but they are not removed even after
> serval days. So when will solr del the tmp index dir?
>