[sleuthkit-developers] SleuthkitCase Locks to access SQLite?
Brought to you by:
carrier
From: Luís F. N. <lfc...@gm...> - 2015-09-12 15:24:10
|
Hi, Could someone kindly explain why SleuthkitCase.java was changed a few months ago to explicitly acquire and release shared and exclusive locks before and after accessing SQLite? SQLite handles read/write concurrency automatically, so this logic into SleuthkitCase could be redundant and increase code complexity a lot. I think strange the code comment that java locks perform better than sqlite "native" locks "for reasons that are not currently understood". There are references or tests were done to support this? And finally, native SQLite locks were disabled after implementing this explicity and so sensible lock control? Thank you very much for your attention, Luis |