-
Notifications
You must be signed in to change notification settings - Fork 110
Issue 6183 - Slow ldif2db import on a newly created BDB backend #6208
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
Conversation
e41aaa2 to
f24bca0
Compare
progier389
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but IMHO now that the CI tests are working again, you should better rebase and double check the CI test result.
Bug Description: After creating a new BDB backend, we autotune the cache only when restarting. So, an administrator will try to import an LDIF before that; she will have a very slow import. Fix Description: Do the autotuning during the backend creation. Add a CI test for the scenario. Fixes: 389ds#6183 Reviewed by: ?
f24bca0 to
763e1a4
Compare
tbordaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@droideck , the patch looks good to me as well but something to clarify: the tuning of the cache is missing, what specific cache (db cache, entry cache, import cache,..) ? If it is db cache, something that is not clear to me is that when the instance is created, it contains a default backend and I would expect db cache to be set. |
I have suspicions it's the DN cache, but I am not exactly sure. I can dive deeper into that if you want, though. It'll be interesting to dive into. :)
|
Bug Description: After creating a new BDB backend, we autotune the cache only when restarting. So, an administrator will try to import an LDIF before that; she will have a very slow import. Fix Description: Do the autotuning during the backend creation. Add a CI test for the scenario. Fixes: #6183 Reviewed by: @progier389, @tbordaz (Thanks!!)
Bug Description: After creating a new BDB backend, we autotune the cache only when restarting. So, an administrator will try to import an LDIF before that; she will have a very slow import. Fix Description: Do the autotuning during the backend creation. Add a CI test for the scenario. Fixes: #6183 Reviewed by: @progier389, @tbordaz (Thanks!!)
Bug Description: After creating a new BDB backend, we autotune the cache only when restarting. So, an administrator will try to import an LDIF before that; she will have a very slow import. Fix Description: Do the autotuning during the backend creation. Add a CI test for the scenario. Fixes: #6183 Reviewed by: @progier389, @tbordaz (Thanks!!)
Bug Description: After creating a new BDB backend, we autotune the cache only when restarting. So, an administrator will try to import an LDIF before that; she will have a very slow import. Fix Description: Do the autotuning during the backend creation. Add a CI test for the scenario. Fixes: #6183 Reviewed by: @progier389, @tbordaz (Thanks!!)
Bug Description: After creating a new BDB backend, we autotune the cache only when restarting. So, an administrator will try to import an LDIF before that; she will have a very slow import. Fix Description: Do the autotuning during the backend creation. Add a CI test for the scenario. Fixes: #6183 Reviewed by: @progier389, @tbordaz (Thanks!!)
Bug Description: After creating a new BDB backend, we autotune the cache only when restarting. So, an administrator will try to import an LDIF before that; she will have a very slow import. Fix Description: Do the autotuning during the backend creation. Add a CI test for the scenario. Fixes: #6183 Reviewed by: @progier389, @tbordaz (Thanks!!)
Bug Description: After creating a new BDB backend, we autotune the cache only when restarting. So, an administrator will try to import an LDIF before that; she will have a very slow import. Fix Description: Do the autotuning during the backend creation. Add a CI test for the scenario. Fixes: #6183 Reviewed by: @progier389, @tbordaz (Thanks!!)
Bug Description: After creating a new BDB backend, we autotune the cache only when restarting. So, an administrator will try to import an LDIF before that; she will have a very slow import. Fix Description: Do the autotuning during the backend creation. Add a CI test for the scenario. Fixes: #6183 Reviewed by: @progier389, @tbordaz (Thanks!!)
Bug Description: After creating a new BDB backend, we autotune the cache only when restarting. So, an administrator will try to import an LDIF before that; she will have a very slow import.
Fix Description: Do the autotuning during the backend creation. Add a CI test for the scenario.
Fixes: #6183
Reviewed by: ?