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
Issue 5050 - bdb bulk op fails if fs page size > 8K #5150
Conversation
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.
Ack from me, @Nascire or @croadfeldt if you are able to test this that would be lovely!
You fine folks don't happen to have a pre-built container for this PR by chance do you? Otherwise, will try to spin one up myself. |
There are rpms for F35 built from this PR: https://github.com/389ds/389-ds-base/suites/5165071779/artifacts/156447124 I'll try the reproducer with proxmox later today as well. |
I gave it a spin, now it's a different error message:
|
Thank you Victor ! |
Thank you, Pierre!
|
(cherry picked from commit db69930)
(cherry picked from commit db69930)
Issue: Getting replication failure when db is set on file system having page size greater than 8K
libdb - BDB0623 DB_MULTIPLE/DB_MULTIPLE_KEY buffers must be aligned, at least page size and multiples of 1KB
bdb_map_error - bdb_public_cursor_bulkop failed with db error 22 : Invalid argument
because when using bdb, db bulk operation (that retrieve several records in a single operation) must have a buffer size that is both 1024 bytes aligned and greater of equal to the db page size which default to the underlying file system page size
(and the initial buffer size is hardcoded to 8K in ds389)
Solution is to alloc a new buffer if the provided buffer does not fulfill the requirements.
Issue: 5050
Reviewed by: