Add a new header flag for "migrated with data" and set this to 1
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 6 Dec 2010 05:09:38 +0000 (16:09 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 7 Dec 2010 04:33:41 +0000 (15:33 +1100)
commita8cc35191df1cd4b866897df71d317ce5f198cb5
treea6a0217e73105b5aba10b46e29eb637761257fa2
parent70c2e7dd04727371590fb94579ffd20318fbeb58
Add a new header flag for "migrated with data" and set this to 1
when we migrate a non-empty record onto the node
or a non-empty record off the node

When we migrate a record back to the lmaster and yield the dmaster role,
inspect this flag if if it is still not set, we can delete the record from
the local database as soon as we have migrated it back to the lmaster.
server/ctdb_call.c