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

fast new slave from a snapshot

    XMLWordPrintable

    Details

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

      Description

      Now that we have lock + fsync we can take clean file system snapshots.
      Given a snapshot of a master (or a slave) we should be able to create a new slave very quickly.

      Process for ec2
      1) lock + fsync
      2) ebs snapshot
      3) mount snapshot on the new slave
      4) start slave with normal paramets
      5) should know its "new" b/c setup as master, then take the newest value in the oplog and put that in local.sources

      even not on ec2 this should be faster because you can compress the entire data set and don't have to re-create indexes

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: