You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/06/14 23:17:00 UTC

[jira] [Updated] (DIRSERVER-1969) [replication] Storing of modified entries can be skipped in full syncrepl mode

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

Emmanuel Lecharny updated DIRSERVER-1969:
-----------------------------------------
    Component/s: replication

> [replication] Storing of modified entries can be skipped in full syncrepl mode
> ------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1969
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1969
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: replication
>    Affects Versions: 2.0.0-M16
>            Reporter: Emmanuel Lecharny
>            Priority: Major
>             Fix For: 2.0.0-RC1
>
>
> When we have replication setup, we do copy all the modified entries into a btree for each replica we are dealing with. 
> We can avoid doing this as when a replica will reconnect, it will send the latest EntryCSN it has received, and we can now locally find all the modified entries by comparing the received entryCSN with the local entryCSNs using the index, and send all the updated entries to the replica.
> Although we can still keep a track of all the deleted entries (storing their DN and entryCSN) so that w can send the deleted entries to the replica, instead of asking the replica for all its DN and compute the deleted entries with that set. We have to be careful though : the deleted entry should be sent in the right order, within the modified entries.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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