Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-595

restarting replication - making finding first object fast

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.3.2
    • Affects Version/s: None
    • Component/s: Replication
    • None

      Scanning backwards can be really slow if replication was paused for significant time.

      Theory: scanning backwards is horribly slow because every 4k have to seek

      Solution:

      • scan bacwards as we do now for 5 seconds.
      • if the starting point is not found, find the extent which the object should be in by looking at first object in each extent
      • then scan forwards in that extent - which should be very fast

      If we can do this simply - might be worth backporting to 1.2.x

            Assignee:
            aaron Aaron Staple
            Reporter:
            eliot Eliot Horowitz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: