tools/ctdb: Do not exit prematurely on control timeout if retrying in a loop
authorAmitay Isaacs <amitay@gmail.com>
Tue, 18 Jun 2013 04:27:34 +0000 (14:27 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 20 Jun 2013 02:56:29 +0000 (12:56 +1000)
commitcb700ff66859c585a70f7ca36da356c56bbdcc4f
tree1f2eb38dd54814ae40e179f5ee5e6741c037215c
parent14d5f1c2475039ae331429b55f27f8273618a91d
tools/ctdb: Do not exit prematurely on control timeout if retrying in a loop

This avoids premature exits from "ctdb stop" and "ctdb continue" due to
intermittent control (e.g. getpnn, getnodemap) timeouts.

This needs a proper fix to distinguish between timeout and failure
conditions and take appropriate action.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit c48583fd238496a81ddc46a21892f0b49559036a)
tools/ctdb.c