From 9c91e1695503fa7d989469f0f0536750dce9e9b7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 3 Feb 2011 16:30:52 +0100 Subject: ltdb: add the CTDB_REC_FLAG_AUTOMATIC to the initial header in ctdb_ltdb_fetch() Signals that this record was not created by a client level store. (This used to be ctdb commit 69d34983a37b0324ff7610b8dfdcd8d13bf81c54) --- ctdb/common/ctdb_ltdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ctdb/common/ctdb_ltdb.c b/ctdb/common/ctdb_ltdb.c index b5e586568c..3ee7fe8314 100644 --- a/ctdb/common/ctdb_ltdb.c +++ b/ctdb/common/ctdb_ltdb.c @@ -65,6 +65,7 @@ static void ltdb_initial_header(struct ctdb_db_context *ctdb_db, ZERO_STRUCTP(header); /* initial dmaster is the lmaster */ header->dmaster = ctdb_lmaster(ctdb_db->ctdb, &key); + header->flags = CTDB_REC_FLAG_AUTOMATIC; } -- cgit