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

Don't allow clients to change the value of internalClient after the initial request

    XMLWordPrintable

    Details

    • Sprint:
      Repl 2021-06-28
    • Linked BF Score:
      58

      Description

      Currently, a client connection could send an initial hello/ismaster request without the internalClient field, and then later on send a subsequent hello command with internalClient: 1 specified, and the server would start treating this connection as an internal client connection.

      We should change this so that the server does not allow a connection to change the value of internalClient after it has already sent the initial hello/ismaster request.
      We should also add testing of this behavior.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-servicearch Backlog - Service Architecture
            Reporter:
            huayu.ouyang Huayu Ouyang
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: