Changes

Jump to navigation Jump to search
10 bytes added ,  22:50, 1 August 2016
==Database Locks==
To avoid database corruptions that are caused by accidental write operations from different JVMs, a shared lock is requested on the database table file ({{Code|tbl.basex}}) whenever a database is opened. If an update operation is triggered, and if no exclusive lock can be acquired, it will be rejected with the message "Database ... is currently opened by another process.".
Please note that you cannot 100% rely on this mechanism, as it is not possible to synchronize operations across different JVMs. You will be safe when using the client/server or HTTP architecture.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu