diff options
author | Michael Adam <obnox@samba.org> | 2011-02-03 16:27:42 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-03-14 13:35:51 +0100 |
commit | 827e871ec42da6f00cfd9b99ff1aabc8a81eef17 (patch) | |
tree | 1cc996fa814c204ec82dfc709c825d58dddd74cd | |
parent | 6506314c4af7ca2bcc0fe08017376159f1a77b6d (diff) | |
download | samba-827e871ec42da6f00cfd9b99ff1aabc8a81eef17.tar.gz samba-827e871ec42da6f00cfd9b99ff1aabc8a81eef17.tar.xz samba-827e871ec42da6f00cfd9b99ff1aabc8a81eef17.zip |
ctdb_private.h: add record flag CTDB_REC_FLAG_AUTOMATIC
This is a flag that shall signa that a record has been automatically generated by ctdb
and not by an explicit client store operation. This will be used in the ctdb_ltdb_fetch
operation which stores an empty record with default initial header before trying to
migrate the record from the dmaster when the record does not exist in the local tdb.
(This used to be ctdb commit 46381a3cb58ccc11422af8f7798c80ea8d72294f)
-rw-r--r-- | ctdb/include/ctdb_protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h index 887c73ed6b..0422afeb7b 100644 --- a/ctdb/include/ctdb_protocol.h +++ b/ctdb/include/ctdb_protocol.h @@ -485,6 +485,7 @@ struct ctdb_ltdb_header { #define CTDB_REC_FLAG_DEFAULT 0x00000000 #define CTDB_REC_FLAG_MIGRATED_WITH_DATA 0x00010000 #define CTDB_REC_FLAG_VACUUM_MIGRATED 0x00020000 +#define CTDB_REC_FLAG_AUTOMATIC 0x00040000 uint32_t flags; }; |