Issue 7502 - slapcat: retry a few times when retrieving an entry
Summary: slapcat: retry a few times when retrieving an entry
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 22:26 UTC by balint@balintreczey.hu
Modified: 2014-08-01 21:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description balint@balintreczey.hu 2013-01-25 22:26:29 UTC
Full_Name: Balint Reczey
Version: master
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (84.0.168.17)


From: Axel Beckert <beckert@phys.ethz.ch>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: slapd: slapcat output truncated every now and then
Date: Tue, 15 May 2012 18:33:57 +0200

Package: slapd
Severity: grave
Version: 2.4.23-7.2
Justification: Causes data loss

Every now and then slapcat's output does not contain the whole content
of the LDAP but is truncated at some LDIF entry border (i.e. all printed
LDIF records seem complete).

To reproduce run "while sleep 1; do slapcat | wc; done" on a moderately
busy LDAP server (writes every few seconds to minutes; about 10000
entries) while slapd is running and notice the occasionally occurring
huge change in wc's printed values, e.g.:

# while sleep 1; do slapcat | wc; done
 471698 1015498 15336677
 471698 1015498 15336677
 471698 1015498 15336677
...
 471698 1015497 15336635
 471698 1015497 15336635
 281829  606820 8632165  <--
 471698 1015497 15336635
 471698 1015497 15336635
 471698 1015497 15336635
 308627  664573 9476751  <--
 471698 1015497 15336635
 471698 1015497 15336635
 471698 1015497 15336637

Please see email thread starting at
http://www.openldap.org/lists/openldap-technical/201301/msg00195.html
Comment 1 Quanah Gibson-Mount 2013-01-25 23:27:37 UTC
changed notes
changed state Open to Closed
Comment 2 OpenLDAP project 2014-08-01 21:03:57 UTC
Duplicate of 7503