Yes. I just sent you a diff which has '@' removed.

It looks like rename() fails in some cases. Very strange, but...


Please apply that patch or simply remove '@' and try your test again.
That would be good to take error message, which is provided by rename() (or check if there are no any error messages).

With best regards,
   Alexander Veremyev.


bongobongo wrote:
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 ?
***************





Reply via email to