From 2d21a9bf5eeb88d738e998ee8f1720487b55e12e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 11 Aug 2012 10:56:58 +1000 Subject: 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 --- source4/dsdb/schema/schema.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source4/dsdb/schema') 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; -- cgit