#47756 Improve import logging and abort handling
Closed: wontfix None Opened 7 years ago by mreynolds.

Heavily nested DIT LDIF files can take a long time when generating numsubordinates and ancestorIDs. There is no logging during these phases and it can appear that the import is hung.

There are also some internal "loops" in the import code that do not check for "aborts", and can actually hang the server if you attempt to stop it.

git merge ticket47756
Updating afadb40..67ba61b
ldap/servers/slapd/back-ldbm/ancestorid.c | 96 ++++++++++++++++++------
ldap/servers/slapd/back-ldbm/import-threads.c | 9 +-
ldap/servers/slapd/back-ldbm/import.c | 9 +-
ldap/servers/slapd/back-ldbm/import.h | 8 ++
ldap/servers/slapd/back-ldbm/ldif2ldbm.c | 29 +++++++-
ldap/servers/slapd/back-ldbm/proto-back-ldbm.h | 3 +-

git push origin master
afadb40..67ba61b master -> master

commit 67ba61b
Author: Mark Reynolds mreynolds@redhat.com
Date: Thu Mar 27 11:17:08 2014 -0400

coverity patch attached.

git merge coverity
Updating 6816e11..cab6a23
ldap/servers/slapd/back-ldbm/ancestorid.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

git push origin master
6816e11..cab6a23 master -> master

commit cab6a23
Author: Mark Reynolds mreynolds@redhat.com
Date: Fri May 9 10:04:34 2014 -0400

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 1.3.3 - 3/14 (March)

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1088

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

a year ago

Login to comment on this ticket.