Redo the vacukming process to mkake it scalable.
authorRonnie Sahlberg <sahlberg@samba.org>
Wed, 12 Mar 2008 20:53:29 +0000 (07:53 +1100)
committerRonnie Sahlberg <sahlberg@samba.org>
Wed, 12 Mar 2008 20:53:29 +0000 (07:53 +1100)
commit9e625ece19a91f362c9539fa73b6b2108f0d9c53
tree00c51b0e141c4eea99ff4e574944da7fed115672
parent89529ea81379335b3db09774d192fb7cefe37338
Redo the vacukming process to mkake it scalable.

Vacumming used to delete one record at a time on all nodes, that was
m*n behaviour and would require a huge storm of ctdb->ctdb controls and just wouldnt scale at all.

The new vacuming process collects all records to be deleted locally and then only sends 1 control to the other nodes. This control contains a list of all records to be deleted.
include/ctdb_private.h
server/ctdb_control.c
server/ctdb_recover.c
tools/ctdb_vacuum.c