Issue 8303 - An Asynchronous meta back-end for OpenLDAP
Summary: An Asynchronous meta back-end for OpenLDAP
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: 2.5.0
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-05 17:08 UTC by Nadezhda Ivanova
Modified: 2020-10-14 21:07 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 Nadezhda Ivanova 2015-11-05 17:08:25 UTC
Full_Name: Nadezhda Ivanova
Version: slapd 2.X
OS: 
URL: ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-151105.patch
Submission from: (NULL) (78.83.54.234)


This is an asynchronous version of the meta back-end.

The attached files are derived from OpenLDAP Software. All of the modifications
to OpenLDAP Software represented in the following patch were developed by Symas
Corporation. Symas Corporation has not assigned rights and/or interest in this
work to any party. I, Nadezhda Ivanova, am authorized by Symas Corporation, my
employer, to release this work under the following terms.

The attached modifications to OpenLDAP Software are subject to the following
notice:

Copyright 2015 Symas Corporation
Redistribution and use in source and binary forms, with or without modification,
are permitted only as authorized by the OpenLDAP Public License.
Comment 1 Nadezhda Ivanova 2016-02-01 12:28:11 UTC
A new version of the patch with all fixes is uploaded as

ftp://ftp.openldap.org/incoming/nadezhda-ivanova-160130.patch 
<ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-151105.patch>

Comment 2 Nadezhda Ivanova 2016-02-01 13:46:58 UTC
A new version of the patch with all fixes is uploaded as

ftp://ftp.openldap.org/incoming/nadezhda-ivanova-160130.patch

Comment 3 OpenLDAP project 2016-02-01 14:36:40 UTC
in master
Comment 4 Howard Chu 2016-02-01 14:36:40 UTC
changed notes
changed state Open to Test
moved from Incoming to Development
Comment 5 Howard Chu 2016-02-06 16:52:23 UTC
nivanova@symas.com wrote:
> Full_Name: Nadezhda Ivanova
> Version: slapd 2.X
> OS:
> URL: ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-151105.patch
> Submission from: (NULL) (78.83.54.234)
>
>
> This is an asynchronous version of the meta back-end.

Something in this patch breaks test022. Reverting the patch (commit 
6cafdfa8d82134f78e68325c4b9c10dd37935d7a) fixes the problem. Please investigate.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 6 Nadezhda Ivanova 2016-02-08 12:32:53 UTC
This is a patch that fixes a problem in the configure.in introduced with 
the original commit (6cafdfa8d82134f78e68325c4b9c10dd37935d7a). The 
problem caused compilation error during make depend.

ftp://ftp.openldap.org/incoming/nadezhda-ivanova-160208.patch

Comment 7 Nadezhda Ivanova 2016-02-09 13:33:20 UTC
A patch for the failing test022 is uploaded as:

ftp://ftp.openldap.org/incoming/nadezhda-ivanova-160209.patch

Comment 8 Nadezhda Ivanova 2016-02-29 14:17:58 UTC
This patch fixes a problem in the closing of timed-out connections to 
targets in back-asyncmeta. If a a_metaconn is still in use for another 
target, the connections to other targets might not be reset while the mc 
is still active, even if these targets are no longer in use. This patch 
introduces counters for pending operations per a_metasingleconn, and 
resets a metasingleconn if it has timed out and has no pending operations.

  ftp://ftp.openldap.org/incoming/nadezhda-ivanova-160229.patch

Comment 9 Nadezhda Ivanova 2016-05-03 13:15:51 UTC
This is a patch that removes some unused attributes from 
olcAsyncMetaConfig. These attributes were removed when some 
configuration options were removed for asyncmeta, being no longer 
applicable, but removing them from the class definition was missed.

ftp://ftp.openldap.org/incoming/nadezhda-ivanova-160503.patch

Comment 10 Nadezhda Ivanova 2016-06-07 15:49:02 UTC
Some new bug fixes for asyncmeta:
1.Fix for a crash during an add operation
ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-160607_01.patch
2. Asyncmeta ignored ors_tlimit if operation timeout was configured
ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-160607_02.patch
3. Fixed uninitialized control value during copy of operation, which 
caused occasional crashes when controls without values are used.
ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-160607_03.patch
4. Fixed a missing result message if onerr=continue and the last result 
is an error.
ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-160607_04.patch
5. Fixed incorrect copy of the entry of an add operation, which resulted 
in memory leaks.
ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-160607_05.patch

Best Regards,
Nadezhda Ivanova

Comment 11 Howard Chu 2016-06-07 17:28:05 UTC
nivanova@symas.com wrote:
> Some new bug fixes for asyncmeta:

ITS#8303 was already resolved, these patches should be in a new ticket.

> 1.Fix for a crash during an add operation
> ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-160607_01.patch
> 2. Asyncmeta ignored ors_tlimit if operation timeout was configured
> ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-160607_02.patch
> 3. Fixed uninitialized control value during copy of operation, which
> caused occasional crashes when controls without values are used.
> ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-160607_03.patch
> 4. Fixed a missing result message if onerr=continue and the last result
> is an error.
> ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-160607_04.patch
> 5. Fixed incorrect copy of the entry of an add operation, which resulted
> in memory leaks.
> ftp://ftp.openldap.org/incoming/Nadezhda-Ivanova-160607_05.patch
>
> Best Regards,
> Nadezhda Ivanova
>
>
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/