summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-11 10:56:58 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-11 12:53:42 +1000
commit2d21a9bf5eeb88d738e998ee8f1720487b55e12e (patch)
tree8d947bc23c14340949b64a34b0bb3e1e0857e2b2 /source4/dsdb/schema
parentf36e28d1316bc0bd210933bbdb77241376fe3500 (diff)
downloadsamba-2d21a9bf5eeb88d738e998ee8f1720487b55e12e.tar.gz
samba-2d21a9bf5eeb88d738e998ee8f1720487b55e12e.tar.bz2
samba-2d21a9bf5eeb88d738e998ee8f1720487b55e12e.zip
s4-dsdb: Use only the replication USN for schema reload.
This way we do not track both the partition seq number and the replication USN for schema reload purposes. We only need one indication of actual data change, and the replication per-partition sequence number is no more expensive to obtain than the ldb per-partition sequence number. Andrew Bartlett
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/schema.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h
index 54903f549f..81ac129d5e 100644
--- a/source4/dsdb/schema/schema.h
+++ b/source4/dsdb/schema/schema.h
@@ -252,12 +252,6 @@ struct dsdb_schema {
* requested to reload the schema (either due through DRS or via the schemaUpdateNow).
*/
uint64_t metadata_usn;
- /* an 'opaque' sequence number that corresponds to the highest USN of the schema
- * partition it used in the reload to check if a reload
- * should really be performed. As the schema is periodically reloaded this
- * is still needed in order to avoid costly complete schema reload.
- */
- uint64_t reload_seq_number;
/* Should the syntax handlers in this case handle all incoming OIDs automatically, assigning them as an OID if no text name is known? */
bool relax_OID_conversions;