~hazmat/pyjuju/maas-tags-redux

Viewing all changes in revision 610.

  • Committer: Kapil Thangavelu
  • Author(s): Kapil Thangavelu
  • Date: 2013-01-31 14:38:56 UTC
  • mfrom: (608.2.3 serialized-hook-exec)
  • Revision ID: kapil.foss@gmail.com-20130131143856-kjrv3rgwtkeg4enh
Serialized unit execution on a machine/container

To prevent races for system resources like apt between different
units running on the same machine/container a shared file lock is
taken out for hook execution. Mechanism is resistant to dead 
processes holding lock, however per previous juju behavior no 
timeout is provided for maximum hook execution time.

R=jimbaker
CC=
https://codereview.appspot.com/7237043

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: