This reverts commit
257311e337065f089df688cbf261d2577949203d.
That commit was due to a misunderstanding, and it
does not fix what it was supposed to fix.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
* fails. So storing the empty record makes sure that we do not
* need to change the client code.
*/
- if ((header->flags & CTDB_REC_FLAG_VACUUM_MIGRATED) &&
- (ctdb_db->ctdb->pnn == header->dmaster)) {
- keep = true;
- schedule_for_deletion = true;
- }
if (!(header->flags & CTDB_REC_FLAG_VACUUM_MIGRATED)) {
keep = true;
} else if (ctdb_db->ctdb->pnn != header->dmaster) {