Hi Charles, as recently discussed, we have replaced our pinning concept with shared & exclusive locks on the database table, which seems to work out pretty well. Your feedback is welcome,
Thanks for your valuable input, Christian ___________________________ On Sat, Mar 17, 2012 at 10:59 PM, Charles Duffy <char...@dyfis.net> wrote: > Howdy -- > > I have a BaseX database with a pin-* file in its directory, reporting as > locked and unavailable. However, OS-level tools such as fuser report that no > programs have open file handles for any processes in this directory. > > What mechanism does BaseX use for detecting abandoned locks? It would be > nice to use OS-level advisory locking where available, such that the lock is > automatically released whenever the program holding it exits (or otherwise > ceases to hold a handle on the file). > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk@mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk