git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
297a66f
)
ltdb: add the CTDB_REC_FLAG_AUTOMATIC to the initial header in ctdb_ltdb_fetch()
author
Michael Adam
<obnox@samba.org>
Thu, 3 Feb 2011 15:30:52 +0000
(16:30 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 9 Mar 2011 23:56:35 +0000
(
00:56
+0100)
Signals that this record was not created by a client level store.
common/ctdb_ltdb.c
patch
|
blob
|
history
diff --git
a/common/ctdb_ltdb.c
b/common/ctdb_ltdb.c
index b5e586568cd379fc1735f2e3161f74dfb3ba3a02..3ee7fe83143e406b220ae7374cbbbdab2ad9dfb9 100644
(file)
--- a/
common/ctdb_ltdb.c
+++ b/
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;
}