Did some more digging
In this function:
public function renameFile($from, $to)
in Filesystem.php
It looks like this line allways triggers the Fatal ERROR:
return @rename($this->_dirPath . '/' . $from, $this->_dirPath . '/' . $to);
I changed the line above to look like this:
$test = @rename($this->_dirPath . '/' . $from, $this->_dirPath . '/' . $to);
echo "<br>renameFile: AfterRenameFromTo: test=$test";
return $test;
When it failes test is empty (false), which means rename failed.
If you need more specific testing I can provide you with that.
Just ask :-)
***************
I noticed that there is a lot of rename, unlink and unset going on when
inexing.
Actually this renameFile function was called approx 315 times when adding
2902 docs before failing in my last test...
Urk .... THAT is a lot of I/O .... no wonder why this takes time...
Is it supposed to work like that ?
***************
--
View this message in context:
http://www.nabble.com/zend_search_lucene%3A-Is-this-a-bug--Error-after-adding-x-number-of-documents--%28ver.-0.8.0%29-tf3309996s16154.html#a9254311
Sent from the Zend Framework mailing list archive at Nabble.com.