partition: Leave metadata.tdb unlocking until last
authorGarming Sam <garming@catalyst.net.nz>
Wed, 7 Feb 2018 10:21:45 +0000 (23:21 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 5 Mar 2018 19:50:14 +0000 (20:50 +0100)
commit242cf337e9e9d72f8c919d0772fd5e35fb2422dc
tree64407c0e6291cf539ef5742b4368f1fd38d2855f
parent8caf84a8d4c4454941c163b7ecd9a2e65060526c
partition: Leave metadata.tdb unlocking until last

With the lmdb patches, I have cleanly observed the database being read
in between the commit of the metadata.tdb and the eventual commits of
the individual partitions.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/partition.c