Solr should clean old replication temp dirs
-------------------------------------------
Key: SOLR-2323
URL: https://issues.apache.org/jira/browse/SOLR-2323
Project: Solr
Issue Type: Bug
Components: replication (java)
Affects Versions: 1.4.1
Reporter: Markus Jelsma
In a high commit rate environment (polling < 10s and commits every minute) the
shutdown/restart of a slave can result in old temp directories laying around,
filling up disk space as we go on. This happens with the following scenario:
1. master has index version 2
2. slave downloads files for version 2 to index.2 temp directory
3. slave is shutdown
4. master increments to version 3
5. slave downloads files for version 3 to index.2 temp directory
The result is index.2 temp directory not getting deleted by any process. This
is very annoying in such an environment where nodes are restarted frequently
(for whatever reason). Working around the problem can be done by either
manually deleting the temp directories between shutdown and startup or by
calling the disablepoll command followed by an abortfetch command which will
(after a long wait) finally purge the temp directory.
See this thread:
http://www.mail-archive.com/[email protected]/msg45120.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]