You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kiran Ayyagari (JIRA)" <ji...@apache.org> on 2014/04/04 07:06:15 UTC
[jira] [Commented] (DIRSERVER-1968) [replication] Avoid updating
all the index when we have an entry modification
[ 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)