[ZODB-Dev] Heads up: changing the way the ZODB.lock_file module works

Jim Fulton jim at zope.com
Thu May 17 15:06:21 EDT 2007


In particular, lock files will no-longer be removed when a lock is  
closed (released).  This is to avoid a race condition in the current  
implementation.

AFAIK, the ZODB lock_file module is only used to protect file  
storages.  The probability that the race condition in the current  
locking implementation would lead to problems with file storages is  
very low, but non-zero.  As a result of this change, file-storage  
lock files (e.g. Data.fs.lock) will be left around.

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the ZODB-Dev mailing list