Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1969

[replication] Storing of modified entries can be skipped in full syncrepl mode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-M16
    • 2.0.0-RC1
    • replication
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: