X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilebackend%2Flockmanager%2FDBLockManager.php;h=c9aad43a489ebcc801896cbe304c756fcdbdad2a;hb=77fc516630b0089826c69ac5176936f13c467e1c;hp=b61b08dd11701e4df5ac49abd76f37ea9dc9ae49;hpb=f82b0e76306a9feca014e563a5fac0688cf876dc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filebackend/lockmanager/DBLockManager.php b/includes/filebackend/lockmanager/DBLockManager.php index b61b08dd11..c9aad43a48 100644 --- a/includes/filebackend/lockmanager/DBLockManager.php +++ b/includes/filebackend/lockmanager/DBLockManager.php @@ -26,9 +26,8 @@ * * This is meant for multi-wiki systems that may share files. * - * All lock requests for a resource, identified by a hash string, will map - * to one bucket. Each bucket maps to one or several peer DBs, each on their - * own server, all having the filelocks.sql tables (with row-level locking). + * All lock requests for a resource, identified by a hash string, will map to one bucket. + * Each bucket maps to one or several peer DBs, each on their own server. * A majority of peer DBs must agree for a lock to be acquired. * * Caching is used to avoid hitting servers that are down. @@ -243,6 +242,8 @@ abstract class DBLockManager extends QuorumLockManager { /** * MySQL version of DBLockManager that supports shared locks. + * + * All lock servers must have the innodb table defined in locking/filelocks.sql. * All locks are non-blocking, which avoids deadlocks. * * @ingroup LockManager