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:28 +0000 (15:33 +1100)
commitd22e7e47a7f3d450bbbc2267322dadbdbf192e84
tree019b2ac052acc3af9633cdcbf8db825d88a428a0
parentd1f621340aa79690edb23972cd84cb803beae0c3
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