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:34 +0000 (15:33 +1100)
commit4a8590f76c5e7ea68acb4d5e52ec0e8a41b65fda
treef86dae9b91e2132802b62c656b87f37bc9db8883
parent1766f2ec5d1b2ae2d30323c03cd3e67a1bda804c
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