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

Unable to change priority on replset member

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Ubuntu
      primary is running 2.0.4 (id 1)
      secondary is running 2.0.6 (id 6)
    • ALL

    Description

      PRIMARY> cfg1 = rs.conf();
      {
      "_id" : "s0",
      "version" : 13,
      "members" : [

      { "_id" : 1, "host" : "ec2-184-72-40-101.us-west-1.compute.amazonaws.com:27017" }

      ,

      { "_id" : 4, "host" : "ec2-50-18-172-228.us-west-1.compute.amazonaws.com:27017" }

      ,

      { "_id" : 5, "host" : "ec2-184-169-145-5.us-west-1.compute.amazonaws.com:27017" }

      ,

      { "_id" : 3, "host" : "ec2-184-169-155-143.us-west-1.compute.amazonaws.com:27017", "priority" : 0, "hidden" : true, "buildIndexes" : false }

      ,

      { "_id" : 6, "host" : "50.23.75.130:28000" }

      ]
      }
      PRIMARY> cfg1.members[6].priority = 2;
      Sat Jul 28 00:53:27 TypeError: cfg1.members[6] has no properties (shell):1

      Attachments

        Activity

          People

            scotthernandez Scott Hernandez (Inactive)
            mdicarlo Mike DiCarlo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: