ctdb_ltdb_store_server: delete an empty record that is safe to delete instead of...
authorMichael Adam <obnox@samba.org>
Fri, 3 Dec 2010 14:29:21 +0000 (15:29 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 14 Mar 2011 12:35:50 +0000 (13:35 +0100)
commit3cca0d4b48325d86de2cb0b44bb7811a30701352
treeacbbad645f1b1b5e8485f760ff85bfffe208f481
parentdf49ec44de80affa5ccc637dec12a20a26e8706e
ctdb_ltdb_store_server: delete an empty record that is safe to delete instead of storing locally.

When storing a record that is being migrated off to another node
and has never been migrated with data, then we can safely delete it
from the local tdb instead of storing the record with empty data.

Note: This record is not deleted if we are its lmaster or dmaster.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
server/ctdb_ltdb_server.c