Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-4325

Changelog searches requesting changelogCookie are very slow

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 6.5.0
    • Component/s: replication
    • Labels:

      Description

      On a search request to cn=changelog (changeNumber mode, a.k.a. draft mode), when the changelogCookie attribute is requested, computing its value require cursoring through all the changes from the start of the replica DBs, which is highly inefficient when replica DBs are very large.

      The most efficient solution would be to position the cursors on each replica DBs on the record that comes immediately before the CSN read from the change number index DB.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matthew Matthew Swift
                Reporter:
                JnRouvignac Jean-Noël Rouvignac
                Dev Assignee:
                Matthew Swift
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: