#47756 Improve import logging and abort handling
Closed: Fixed None Opened 5 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
Fast-forward
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
Fast-forward
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)

2 years ago

Login to comment on this ticket.

Metadata