I have a master/slave setup, with a single master and slave instance running over JMS on the SAME localhost (no NFS involved). My master instance, in addition to processing index-update requests from the queue, also runs a task on a cron schedule to regularly purge and rebuild the indices from the latest db data. This all seems to work fine.
However, every so often, on the slave side, I get the following error:
Code:
ERROR [pool-4-thread-1] (FileHelper.java:198) delete - Could not delete C:\Users\mogleym\Scratch\csmc\mds\lucene\dev\slave\org.csmc.mds.model.Physician\2\_10.cfs
I looked at the Hibernate search code and all it's doing is attempting a file.delete on the corresponding handle. But for some reason, that file is locked even though the slave instance has exclusive access to it. Could this be a case of the initial copy from the source not properly releasing the lock? Anyone else seen this?
Windows XP SP3 / Hibernate Search 3.3 Beta2 / Lucene 3.0.2
Michael