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

Include values in replSetFreeze error messages

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.8.0-rc3
    • Replication
    • Replication
    • Fully Compatible

    Description

      > db.adminCommand({replSetStepDown:1})
      {
      	"ok" : 0,
      	"errmsg" : "stepdown period must be longer than secondaryCatchUpPeriodSecs",
      	"code" : 2
      }
      

      So change it to this: secondaryCatchUpPeriodSecs(###)

      And see if there are other cases where we error and don't include the current values.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: