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

replication initial sync should use the fast compact command code to build indexes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.2
    • Component/s: Replication
    • Labels:
      None

      Description

      The new compact command has been optimized to be very fast at building several indexes during the compaction of a collection. Keys for all indexes are written to temporary files during a single scan of the collection data.

      The same technique could be applied to initial sync and would make it faster for big collections with several indexes. See the compact code - given that is now done it should be fairly easy to plug in to initial sync (clonecollection).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              benjamin.becker Ben Becker
              Reporter:
              dwight_10gen Dwight Merriman
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: