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

Cannot reset target specified by syncFrom()

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.3.2
    • Component/s: Replication
    • Environment:
      CentOS6.2

      I could specify the sync target by using rs.syncFrom("[host]:[port]").
      And I also could overwrite the sync target.
      But I could not reset the target !

      RS:SECONDARY> rs.syncFrom(null)
      {
              "syncFromRequested" : "",
              "ok" : 0,
              "errmsg" : "could not find member in replica set"
      }
      

      Is there the way to reset the sync target ?
      Or I have to restart the mongod process ?
      (sync target is merely saved on memory in process)

            Assignee:
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Reporter:
            crumbjp Hiroaki
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: