directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny (Jira) <j...@apache.org>
Subject [jira] [Updated] (DIRSERVER-2153) We don't have to update the RDN index up to the top when moving an entry
Date Thu, 19 Mar 2020 18:36:01 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-2153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lécharny updated DIRSERVER-2153:
-----------------------------------------
    Fix Version/s:     (was: 2.0.0.AM26)
                   2.0.0.AM27

> We don't have to update the RDN index up to the top when moving an entry
> ------------------------------------------------------------------------
>
>                 Key: DIRSERVER-2153
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2153
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: backend, ldap
>    Affects Versions: 2.0.0-M21
>            Reporter: Emmanuel Lécharny
>            Priority: Major
>             Fix For: 2.0.0.AM27
>
>
> When we move an entry, we update all the ascendants up to the root, in order to update
the number of descendants. 
> We can save us a few updates by stopping when we met the common ascendant, because it
will have the same descendant number.
> For instance, moving an entry from A/B/C/D/xxx to A/B/E/F/xxx will decrement the {{nbSubordinate}}
counter for C and D, increment it for E and F, but for B, it will remain the same.
> Doing so, in this very example, we would save 4 updates, dividing by 2 the number of
updates.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Mime
View raw message