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>
Wed, 9 Mar 2011 23:56:34 +0000 (00:56 +0100)
commit6e58a240adc7dbfac2cec2a9d53eb19822476acd
tree18628f1d28689a73a9536525c059e62f697e0271
parent5392ab6164af97f1a396eae01f9b7a959e214032
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