-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
We were not enclosing group processing in a transaction, which was
resulting in extremely high numbers of disk-writes. This patch
adds a transaction around the sdap_process_group code to ensure
that these actions take place within a transaction.
This should be safe, because during an enumeration, all users
should now be in the sysdb, so we won't need to go back to the
LDAP server for missing members.
On my testing LDAP server, with ~5000 users and ~6100 groups of varying
size, I measured a performance improvement on enumeration from
4-5minutes (with the ONELEVEL patch also on the list) down to < 10s with
this patch.
- --
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAk0ncZ4ACgkQeiVVYja6o6MtEwCbB7NxBHvHBFdle0oa6utXKKar
1eQAn2vfyEET5Xilo+JnmrQ0t/UfgmfK
=CnnL
-----END PGP SIGNATURE-----