[SERVER-81544] Track protocol=atlasproxy on client connections Created: 28/Sep/23  Updated: 29/Oct/23  Resolved: 18/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Matt Broadstone Assignee: Mathis Bessa
Resolution: Fixed Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-81548 OpMsgRequest checks for expectPrefix ... Closed
is depended on by SERVER-81804 Remove support for reading expectPref... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2023-10-16, Service Arch 2023-10-30
Participants:

 Description   

Clients which wish to enable the "atlasproxy" serialization protocol (expect tenant prefixes in namespaces, and return prefixed namespaces) will be required to pass a new mongodb/expectPrefix property in the body of their security token.

This ticket covers two related, but distinct pieces of work:

  • Support a new property mongodb/expectPrefix in security tokens
  • Upon receipt of a security token that contains "mongodb/expectPrefix": true, mark the connection where this token was received as being in "protcol=atlasproxy" and ensure that once set, this value is never changed.


 Comments   
Comment by Githook User [ 17/Oct/23 ]

Author:

{'name': 'Mathis Bessa', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-81544 Track protocol=atlasproxy on client connections
Branch: master
https://github.com/mongodb/mongo/commit/482248790b2b56b8b24df235fc88611a6836fe16

Generated at Thu Feb 08 06:46:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.