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

Change error message to start with "not master" rather than "not primary"

    • Fully Compatible
    • ALL
    • TIG 2017-10-23

      Some drivers parse error messages returned by the server, looking for strings like "not master." We should change this error message to start with "not master" rather than "not primary."

      The result of the error message starting with "not primary" instead of "not master" is that pymongo raises a generic OperationFailure exception rather than a NotMaster exception after processing the error message. This is causing problems in TIG's continuous stepdown hook.

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: