Periodic fatal errors while rebuilding index - "no segments* file"... not solved yet?
I've happened to come across an error while rebuilding my index (it is set as a cronjob every 20 minutes in a rather small wiki), which I found to be recurring since almost 2 years ago: Periodic fatal errors while rebuilding index - "no segments* file".
Apparently, the rebuilding process created the /indexes/search/wiki.links as a folder instead of a symlink, which is why it is supposed to fail.
Has anybody found a solution that does not imply stopping the lsearchd daemon or deleting the index directory?
I see this quite often too, it happens at least once a day for us.
The only thing I can think of is that multiple cronjobs are trying to modify the same directory which leads to an inconsistency. Can you be sure this is not happening?
We have already checked it and, as in the above case of Maiden taiwan, we have just one cronjob running at a time. Although I'd hate to do that, I guess maybe we'll have to work on modifying the rebuilding routine or create another cronjob to ensure the rebuilding process does work properly, as we don't know yet why it sometimes fail when it is not supposed to.