Displaying 1 result from an estimated 1 matches for "fs_clear_locks".
2006 Sep 22
4
IOError on clearing locks
...ts are creating a fresh index per test case, and then
calling Index#close and deleting the containing dir during the teardown.
The problem comes when GC.start kicks in after the deleting the directory:
IOError: IO Error occured at <except.c>:79 in xraise
Error occured in fs_store.c:146 - fs_clear_locks
clearing locks in persistence_path/00000000001: <No such file
or directory>
The persistence_path/ directory is the one that was File.rm_r''d. How
can I stop this from happening? Is it a bug, or have I messed something
up? This worked with 0.9.5, but doesn''t no...