ctdb-vacuum: don't stop in process_vacuum_fetch_lists when sending to one node fails.
authorMichael Adam <obnox@samba.org>
Sat, 15 Feb 2014 23:26:00 +0000 (00:26 +0100)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 6 Mar 2014 00:31:15 +0000 (11:31 +1100)
We should try to continue vacuuming as much as possible.
Failure to send records to one lmaster doesn't mean the
others will fail too.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_vacuum.c

index cee5bef2b13a12e16a1fb114ee3f73d43cb2c362..89327def7802e051fdc21c4ba3ecbe06f9cc5ef7 100644 (file)
@@ -793,7 +793,6 @@ static int ctdb_process_vacuum_fetch_lists(struct ctdb_db_context *ctdb_db,
                        DEBUG(DEBUG_ERR, (__location__ " Failed to send vacuum "
                                          "fetch message to %u\n",
                                          ctdb->nodes[i]->pnn));
-                       return -1;
                }
        }