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

fix the "me" field in isMaster responses when using splithorizon

    • Minor Change
    • ALL
    • v4.2, v4.0, v3.6
    • Repl 2020-01-13

      When returning an ismaster response based on the non-default split horizon (see PM-1289), we update the 'primary', 'hosts', 'arbiters', and 'passives' fields of the ismaster response, but not the 'me' field.

      This is inconsistently enforced across drivers, and prevents those that do enforce it to be unable to connect to split horizon deployments.

      Given the few internal dependencies on the field, it makes the most sense to update "me" as well when generating split horizon responses, as this will allow existing drivers to smoothly access the split horizon functionality.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            1 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: