[ 
https://issues.apache.org/jira/browse/DIRSERVER-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959635#comment-13959635
 ] 

Kiran Ayyagari commented on DIRSERVER-1968:
-------------------------------------------

Nope, it doesn't delete and re-create, instead client does a diff and updates 
those attributes that were changed or are newly added.

> [replication] Avoid updating all the index when we have an entry modification
> -----------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1968
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1968
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M16
>            Reporter: Emmanuel Lecharny
>             Fix For: 2.0.0-RC1
>
>
> Currently, when an entry is being modified and replicated, the receiving 
> replica will simply delete the existing entry and re-create it, updating all 
> the indexes in the process.
> We can compute the attribute being updated and apply the modification o the 
> impacted indexes, leaving the other ones unchanged. 
> That would save a lot of CPU and disk access.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to