mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-22 07:38:08 +00:00
2437ef7846
release_lock removes the lock file before it unlocks it. A process that waited in acquire_lock then held a lock on a file without a name, while a third process created a new file at the path and locked it too. Both ran at once, for example two imports, or an import and a kit command. acquire_lock now checks that the file that it locked is the one at the path, and tries again when it is not. lock_dir returns the directory of the lock files.
xCAT is a toolkit for the deployment and administration of clusters. xCAT documentation is available at: http://xcat-docs.readthedocs.org/ xCAT is made available as open source software under the EPL license: http://www.opensource.org/licenses/eclipse-1.0.php