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

    • Server Programmability
    • Repl 2021-06-28, Service Arch 2022-10-17, Service Arch 2022-10-31, Service Arch 2022-11-14, Service Arch 2022-11-28
    • 58

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: