« Previous | Next » 

Revision 9bb69bb5

ID9bb69bb52fb95e40c5167a30dca0ebb116d5e829
Parent 6890cf2e
Child 9f604ab8

Added by Michael Hanselmann almost 13 years ago

watcher: Write per-group instance status, merge into global one

Each per-group watcher process writes its own instance status file. Once
that's done it tries to acquire an exclusive lock on the global file and
will proceed to read all status file, merging them based on each file's
mtime. If an instance is moved to another group, the newer status will
supersede that of an older file which hasn't yet been updated.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences