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

rs.add() assert db/repl/rs.h:184

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.7
    • Affects Version/s: 1.5.6
    • Component/s: Replication
    • None
    • Environment:
      ubuntu 10.04 64bit mongodb 1.5.6
    • ALL

      rs.add({_id:<id>,host:"<host>",priority:<prio>});

      creates fatal replication error. master shuts down replication. this happened multiple times on different master nodes.

      [conn40] Sun Jul 25 00:27:36 replSet replSetReconfig config object parses ok, 7 members specified
      [initandlisten] Sun Jul 25 00:27:36 connection accepted from xxxxxxxxx #68
      [conn40] Sun Jul 25 00:27:36 replSet replSetReconfig all members seem up
      [conn40] Sun Jul 25 00:27:36 replSet info saving a newer config version to local.system.replset
      [conn40] Sun Jul 25 00:27:36 Assertion failure !sp.state.primary() db/repl/rs.h 184
      [conn40] Sun Jul 25 00:27:36 replSet error unexpected exception in haveNewConfig() : 0 assertion db/repl/rs.h:184
      [conn40] Sun Jul 25 00:27:36 replSet fatal error
      [conn40] Sun Jul 25 00:27:36 replSet error fatal error, stopping replication

            Assignee:
            dwight@mongodb.com Dwight Merriman
            Reporter:
            aliemen Alex
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: