Back to bug 2116948

Who When What Removed Added
Red Hat Bugzilla 2022-08-09 15:16:54 UTC Pool ID sst_idm_ds_rhel_9
Red Hat One Jira (issues.redhat.com) 2022-08-09 15:17:50 UTC Link ID Red Hat Issue Tracker RHELPLAN-130662
RHEL Program Management 2022-08-09 15:19:44 UTC Whiteboard sync-to-jira
Keywords Triaged
Red Hat One Jira (issues.redhat.com) 2022-08-09 15:40:49 UTC Link ID Red Hat Issue Tracker IDMDS-2435
thierry bordaz 2023-01-18 16:31:19 UTC CC tbordaz
Link ID Github 389ds/389-ds-base/issues/5408
thierry bordaz 2023-01-18 16:33:31 UTC Status NEW POST
Assignee ldap-maint progier
Target Release --- 9.3
thierry bordaz 2023-01-18 16:36:43 UTC Link ID Github 389ds/389-ds-base/issues/5545
Keywords TestCaseProvided
Pierre Rogier 2023-01-23 15:20:36 UTC Doc Type If docs needed, set a value Bug Fix
Doc Text Cause: To be able to build the entryrdn index, LMDB import worker threads were waiting for the other worker threads to ensure that the parent entry processing was done.

Consequence: This generated lock contention that
drastically slowed import (up to ten entries per seconds )

Fix: The ldif import over lmdb database was redesigned so the data about the entry rdn and its parents gets stored in a temporary database by the provider thread that the worker use to build the entry rdn index.

Result: There is no more any needs to synchronize the worker threads and the average import rate is much better (around a thousand entries/ seconds on a 10 millions entries database)
Note: That is still three time slower than bdb import rate but lmdb does not support concurrent write transactions as bdb does. Furthermore the thread handling the lmdb write transaction is 95% busy in lmdb database code so there is not much chances to improve the import rate significantly. )
Pasi Karkkainen 2023-02-05 15:20:07 UTC CC pasik
Viktor Ashirov 2023-02-21 08:20:43 UTC QA Contact ds-qe-bugs idm-ds-qe-bugs
Matthew Harmsen 2023-03-03 01:00:25 UTC CC idm-ds-dev-bugs
Matthew Harmsen 2023-03-03 01:02:15 UTC CC ldap-maint
Viktor Ashirov 2023-07-17 10:29:17 UTC Fixed In Version 389-ds-base-2.3.4-2.el9
Priority unspecified high
Status POST MODIFIED
Link ID Red Hat Issue Tracker IDMDS-3362
CC vashirov
Pierre Rogier 2023-08-08 13:12:03 UTC CC bsmejkal
Status MODIFIED ASSIGNED
Status ASSIGNED MODIFIED

Back to bug 2116948