Issue 8732 - LDAP_CIRCLEQ improvements
Summary: LDAP_CIRCLEQ improvements
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: 2017-09-13 12:44 UTC by Ondřej Kuzník
Modified: 2020-10-14 21:12 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 Ondřej Kuzník 2017-09-13 12:44:01 UTC
Full_Name: Ondrej Kuznik
Version: master
OS: 
URL: ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170913-LDAP_CIRCLEQ.patch
Submission from: (NULL) (82.10.24.68)


The CIRCLEQ macros are incomplete and not very useful on their
own, but when providing a few more that allow rotating it, they
are. Patch to that effect is attached.

They could probably be made a bit more efficient as well, though.
Comment 1 Howard Chu 2017-09-26 13:00:40 UTC
ondra@openldap.org wrote:
> Full_Name: Ondrej Kuznik
> Version: master
> OS:
> URL: ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170913-LDAP_CIRCLEQ.patch
> Submission from: (NULL) (82.10.24.68)
> 
> 
> The CIRCLEQ macros are incomplete and not very useful on their
> own, but when providing a few more that allow rotating it, they
> are. Patch to that effect is attached.
> 
> They could probably be made a bit more efficient as well, though.

Nothing in this patch says "rotate" anywhere. Please add some more descriptive 
comments describing the purpose of each new macro.


-- 
   -- 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 2 Ondřej Kuzník 2017-09-26 14:20:54 UTC
On Tue, Sep 26, 2017 at 02:00:40PM +0100, Howard Chu wrote:
> Nothing in this patch says "rotate" anywhere. Please add some more
> descriptive comments describing the purpose of each new macro.

A version with the circular queue description extended to cover the
rotation macros is available here:

ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170926-LDAP_CIRCLEQ.patch

-- 
Ondřej Kuzník
Senior Software Engineer
Symas Corporation                       http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP

Comment 3 Howard Chu 2017-09-28 02:55:12 UTC
okuznik@symas.com wrote:
> On Tue, Sep 26, 2017 at 02:00:40PM +0100, Howard Chu wrote:
>> Nothing in this patch says "rotate" anywhere. Please add some more
>> descriptive comments describing the purpose of each new macro.
> 
> A version with the circular queue description extended to cover the
> rotation macros is available here:
> 
> ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170926-LDAP_CIRCLEQ.patch

OK. Go ahead and merge.

-- 
   -- 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 4 OpenLDAP project 2017-09-28 15:36:14 UTC
Added to master
Comment 5 Quanah Gibson-Mount 2017-09-28 15:36:14 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Enhancements