1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

server: when we migrate off a record with data, set the MIGRATED_WITH_DATA flag

(This used to be ctdb commit f5fb232117886186066ab3430fdd2307cba94960)
This commit is contained in:
Michael Adam 2010-12-03 15:21:51 +01:00
parent 3cb3620acf
commit 64fc05e562

View File

@ -222,6 +222,10 @@ static void ctdb_call_send_dmaster(struct ctdb_db_context *ctdb_db,
return;
}
if (data->dsize != 0) {
header->flags |= CTDB_REC_FLAG_MIGRATED_WITH_DATA;
}
if (lmaster == ctdb->pnn) {
ctdb_send_dmaster_reply(ctdb_db, header, *key, *data,
c->hdr.srcnode, c->hdr.reqid);