From e62200e253a393ce0a427ff315267efbd2eaeeea Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 14 Oct 2009 12:57:03 +1100 Subject: s4:dsdb Reload partition metadata if the main db updates This uses the fact that the primary DB does not change often. Before each operation, we see if the sequence number has changed. Andrew Bartlett --- source4/dsdb/samdb/ldb_modules/partition.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/dsdb/samdb/ldb_modules/partition.h') diff --git a/source4/dsdb/samdb/ldb_modules/partition.h b/source4/dsdb/samdb/ldb_modules/partition.h index 2fbcada0a1..9bab2dbcbc 100644 --- a/source4/dsdb/samdb/ldb_modules/partition.h +++ b/source4/dsdb/samdb/ldb_modules/partition.h @@ -42,6 +42,8 @@ struct partition_private_data { struct partition_module **modules; const char *ldapBackend; + + uint64_t metadata_seq; }; #define PARTITION_FIND_OP_NOERROR(module, op) do { \ -- cgit