Distribute the queue serial file after each update
authorIustin Pop <iustin@google.com>
Wed, 23 Jul 2008 10:06:19 +0000 (10:06 +0000)
committerIustin Pop <iustin@google.com>
Wed, 23 Jul 2008 10:06:19 +0000 (10:06 +0000)
commitc3f0a12fbdd379ae13084067d95326a62818c744
treee9d250c28d76d70bdde2bf41cf166eb0ca6edd1e
parentc4beba1cf08d17076824131c73d89f0ef5f414dc
Distribute the queue serial file after each update

This patch adds distribution of the queue serial file after each write
to it (but before a new job is created and written with that ID, and
before a response is returned, so we should be safe from crashes in
between).

Currently it only logs if a node cannot be contacted, it should abort if
> 50% errors are seen.

Reviewed-by: imsnah
daemons/ganeti-masterd
lib/backend.py
lib/jqueue.py