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

GitHub noreply at github.com
Sun Jun 19 18:24:58 CEST 2016


  Branch: refs/heads/master
  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. :/


  Commit: e270b7a1c9bc4b30c6eaf7bdf895d0f0641c631a
      https://github.com/zopefoundation/zc.lockfile/commit/e270b7a1c9bc4b30c6eaf7bdf895d0f0641c631a
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-06-19 (Sun, 19 Jun 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  avoid sleep in test


  Commit: 0fdfb09cb347cf4ce3b1c5ae36c2296f9e6ce580
      https://github.com/zopefoundation/zc.lockfile/commit/0fdfb09cb347cf4ce3b1c5ae36c2296f9e6ce580
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-06-19 (Sun, 19 Jun 2016)

  Changed paths:
    M src/zc/lockfile/tests.py

  Log Message:
  -----------
  better linbe grouping


  Commit: c2becac938dbff4157897a2cd85e1624751d448f
      https://github.com/zopefoundation/zc.lockfile/commit/c2becac938dbff4157897a2cd85e1624751d448f
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2016-06-19 (Sun, 19 Jun 2016)

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

  Log Message:
  -----------
  Merge pull request #8 from zopefoundation/fix-interaction-w-multiprocessing

Fixed: unlocking and locking didn't work when a multiprocessing


Compare: https://github.com/zopefoundation/zc.lockfile/compare/8e8068fa969e...c2becac938db


More information about the checkins mailing list