[Checkins] [zopefoundation/zc.lockfile] 671c91: Fixed: unlocking and locking didn't work when a mu...

GitHub noreply at github.com
Sat Jun 18 23:37:43 CEST 2016


  Branch: refs/heads/fix-interaction-w-multiprocessing
  Home:   https://github.com/zopefoundation/zc.lockfile
  Commit: 671c916e9902cc313e86061d611c02b49d4f34ff
      https://github.com/zopefoundation/zc.lockfile/commit/671c916e9902cc313e86061d611c02b49d4f34ff
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-06-18 (Sat, 18 Jun 2016)

  Changed paths:
    M CHANGES.txt
    M src/zc/lockfile/__init__.py
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  Fixed: unlocking and locking didn't work when a multiprocessing
process was running (and presumably other conditions).

The fix was to make an explicit flock unlock call, in addition to
closing the file.

I lost hours debugging a ZEO test failure before I figured this out. :/




More information about the checkins mailing list