=Locking=
{{Mark|Introduced with Version 7.2:}}
==Updates==
==Pins==
{{Mark|Introduced with Version 7.2:}}
The standalone versions of BaseX (command-line, GUI) cannot be synchronized with other BaseX instances. If concurrent write operations are to be performed, we generally recommend users to always work with the client/server architecture.
To avoid database corruptions caused by unmanaged concurrent write operations, a process-specific {{Mono|pin...basex}} file will be created in a database directory when a database is opened. When an update operation is triggered, it will be rejected with the message "Database ... is opened by another process." if other pin files are found in the directory.
The same message may appear whenever an unused pin file remains after a client has been ungracefully killed or shut down. In this case, you may manually remove the pin files. To avoid manual cleaning of orphaned files, a more advanced solution may be introduced in a future version of BaseX. =Changelog= ==Version 7.2== * Added: pin files ==Version 7.1== * Added: locking files
[[Category:Server]]
[[Category:Internals]]