diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-10-14 12:57:03 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-10-21 22:43:52 +1100 |
commit | e62200e253a393ce0a427ff315267efbd2eaeeea (patch) | |
tree | 263e213ca3b732f3566fef86dee0ba6cd08d7668 /source4/dsdb/samdb/ldb_modules/partition.h | |
parent | 18035251add0e8c39f5fe7976881d6fd32c1bb9a (diff) | |
download | samba-e62200e253a393ce0a427ff315267efbd2eaeeea.tar.gz samba-e62200e253a393ce0a427ff315267efbd2eaeeea.tar.bz2 samba-e62200e253a393ce0a427ff315267efbd2eaeeea.zip |
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
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/partition.h')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/partition.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { \ |