summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-12-10 13:57:01 +0100
committerMichael Adam <obnox@samba.org>2011-03-14 13:35:44 +0100
commitf7eeb42219d06788485907052180a462de4699d7 (patch)
tree70a63fe8495f97f09ead3f57f503544270b2fedf
parentf3fbd31d850f54d97d78baa5dbfa76a4c2a614b6 (diff)
downloadsamba-f7eeb42219d06788485907052180a462de4699d7.tar.gz
samba-f7eeb42219d06788485907052180a462de4699d7.tar.xz
samba-f7eeb42219d06788485907052180a462de4699d7.zip
add a new record flag CTDB_REC_FLAG_VACUUM_MIGRATED.
This is to be used internally. The purpose is to flag a record as been migrated by a VACUUM_MIGRATION, which is triggered by a VACUUM_FETCH message as part of the vacuuming. The local store routine will base its decision whether to delete or to store the record (among other things) upon the value of this flag. This flag should never be stored in the local database copies. (This used to be ctdb commit dd2449c422f323f9b5485e45107a9cc5acc09e08)
-rw-r--r--ctdb/include/ctdb_protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h
index 05ad639c28..449e7794d8 100644
--- a/ctdb/include/ctdb_protocol.h
+++ b/ctdb/include/ctdb_protocol.h
@@ -483,6 +483,7 @@ struct ctdb_ltdb_header {
uint32_t reserved1;
#define CTDB_REC_FLAG_DEFAULT 0x00000000
#define CTDB_REC_FLAG_MIGRATED_WITH_DATA 0x00010000
+#define CTDB_REC_FLAG_VACUUM_MIGRATED 0x00020000
uint32_t flags;
};