]> git.ipfire.org Git - thirdparty/samba.git/commit
netcmd: Increase the transaction_index_cache_size to 200k for schemaupgrade
authorAndréas Leroux <aleroux@tranquil.it>
Thu, 2 May 2024 08:29:52 +0000 (10:29 +0200)
committerJule Anger <janger@samba.org>
Wed, 26 Feb 2025 08:33:30 +0000 (08:33 +0000)
commit848cdca0b53debe6e539124460b170b3fbde067a
tree0b32ed641ed11f6ac273695688ef8ec8bb05bc59
parent96e60f4f0ea7856514d206d43b1976133b8ce3e9
netcmd: Increase the transaction_index_cache_size to 200k for schemaupgrade

Increasing this value greatly improve the performances of schema
upgrade for large domains (>200k entries).

The value 200000 is chosen because it is already used in join.py, and
should be sufficient for known domains.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15795

Signed-off-by: Andréas Leroux <aleroux@tranquil.it>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 5092d7f46b8491e4a2d973a00aff4d6c0e77945e)
python/samba/netcmd/domain/schemaupgrade.py