LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
53 stars 24 forks source link

[FRG-266] Farrago leaves ReposStorage.properties.lck file after exit #606

Open dynamobi-build opened 12 years ago

dynamobi-build commented 12 years ago

[reporter="johnk", created="Thu, 3 May 2007 11:34:59 -0500 (GMT-05:00)"] This makes detecting the presence of the server harder. A script must use fuser to determine if the file is opened.

Also, if the .lck file already exists, Farrago starts anyway, and doesn't bother to 'touch(1)' the file to the current time.

Expected behavior: When farrago exits cleanly, the catalog/ReposStorage.properties.lck file is removed. When farrago abends, the file is either left around, or a wrapping shell-script deletes the file.