Cannot reset target specified by syncFrom()

XMLWordPrintableJSON

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

      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:
            Stennie Steneker (Inactive)
            Reporter:
            Hiroaki
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: