Doing these checks is pointless and potentially causes unnecessary log
messages.
Signed-off-by: Martin Schwenke <martin@meltin.net>
return;
}
+ /* If this node is stopped then it is not the recovery master
+ * so the only remaining action is to potentially to verify
+ * the local IP allocation below. This won't accomplish
+ * anything useful so skip it.
+ */
+ if (rec->node_flags & NODE_FLAGS_STOPPED) {
+ return;
+ }
/* verify that we have all ip addresses we should have and we dont
* have addresses we shouldnt have.