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

Cannot reset target specified by syncFrom()

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.3.2
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
    • Environment:
      CentOS6.2

      Description

      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)

        Attachments

          Activity

            People

            Assignee:
            stennie Stennie Steneker
            Reporter:
            crumbjp Hiroaki
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: