-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dsconf / dscreate should be able to handle lmdb parameters #5843
Comments
dscreate needs to be able to handle these parameters but we cannot change these value afterwards |
Thinking more about this, I think that we shouldn't have a default size. We should always force the admin to select a size here. That way they are always aware of the choice they need to make and don't have a "surprise you're out of DB space" event in the future. We also need to carefully consider how this will work with upgrades in the future too - if we want them to be a manual or hands-off process. |
…rs (#5943) * Issue 5843 - dsconf / dscreate should be able to handle lmdb parameters Description: dscreate changes: - make db_lib a standard option instead of an advanced one - add mdb_max_size as standard option dsconf instance backend config set changes: - add --mdb_max_size option associated with nsslapd-mdb-max-size - add --mdb_max_readers option associated with nsslapd-mdb_max_readers - add --mdb_max_dbs option associated with nsslapd-mdb_max_dbs Issue: #5843 Reviewed by: @Firstyear and @droideck ( Thanks ! )
Found a regression with dscreate create-template when creating first instance on a newly installed host |
Regression fixed by PR #5950 |
Description: Fix the size formatting in `get_default_mdb_max_size` within `utils.py` to ensure `dscreate` displays the correct value in both interactive and create-template installs. Additionally, improve and fix related LMDB configuration tests to validate the correctness of size handling. Fix typos in the test descriptions. Relates: 389ds#5843 Reviewed by: ?
…#6309) Description: Fix the size formatting in `get_default_mdb_max_size` within `utils.py` to ensure `dscreate` displays the correct value in both interactive and create-template installs. Additionally, improve and fix related LMDB configuration tests to validate the correctness of size handling. Fix typos in the test descriptions. Relates: #5843 Reviewed by: @progier389 (Thanks!)
…#6309) Description: Fix the size formatting in `get_default_mdb_max_size` within `utils.py` to ensure `dscreate` displays the correct value in both interactive and create-template installs. Additionally, improve and fix related LMDB configuration tests to validate the correctness of size handling. Fix typos in the test descriptions. Relates: #5843 Reviewed by: @progier389 (Thanks!)
Issue Description
lmdb specific parameters should be visible in dsconf
Package Version and Platform:
Steps to Reproduce
Steps to reproduce the behavior:
Expected results
Should see the lmdb specific parameters like:
Additional context
dscreate create-template should also propose the nsslapd-mdb-max-size as it is a critical parameter
dscreate interactive should ask for
The text was updated successfully, but these errors were encountered: