Bug #10405
closedBug #10373: Upgrading from 4.0 to 4.1 failed on Centos7.3, and purged LDAP directory
Bad way to calculate the size of mdb database for LDAP data
Description
With the parent task merged, we are now correctly setting the mdb database size during migration.
But we are not at all using the correct way to calculate it, because we are still using the old way which was for a cache, so depending on RAM, and not for a storage size.
The problem is that it is not trivial to update mdb storage size if limit is reached, and the consequences can be very grave (losing data).
So, we need to:
- find the normal database size for a set of production install,
- find a sufficiently high value so that, if possible, any installation can run a couple of thousand node without even knowing that that limit exists (tracked on that ticket)
- document all of that (tracked in #10404)