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

sync from special position

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None

      current status

      primary-secondary-arbiter (1:1:1)

      1) secondary server fails
      2) data size 2TB
      3) we cannot initial sync because of data size so big
      4) we have dump backup with option --oplog

       

      I want to do below
      1) in failed secondary
      rm data directory
      MongoDB start
      mongorestore with option --oplogReplay --> success

      2) in primary
      rs.add(secondary)
      --> but start to initial sync
      --> i want to sync after dump last position (how can i do ?)

      in case of Mysql

      change master
      ...
      master_log_file='binary_log.000002', master_log_pos=120; --> i can begin to replicate from special position that i want

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            mingyu.lee@linecorp.com lee mingyu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: