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

Remove expectPrefix in the command body to use it from the token instead

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch

      We are removing expectPrefix per command and instead using `expectPrefix` per connection.

      This is setup whenever the connection is established and if the security token (unsigned) contains `expectPrefix` in its body.

      This behavior is strictly related to Atlas proxy.

      We currently have passthroughs and testing overriding commands by injecting `expectPrefix` (see here). This should be changed to rely on the provided security token instead of the command body.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: