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

Stop parsing tenant prefix without atlas proxy protocol in multitenancy

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Service Arch
    • 3

    Description

      As  Atlas Proxy would send tenant token with "expectPrefix: true" on every request before we rolled out mongoq, that means we only parse tenant id from database strings when "expectPrefix:true" is set in the unsigned security token. We need to remove support for parsing tenant id from prefix of database strings without "expectPrefix: true".

      For example, if we receive a request {count: ..., $db: tenantA_myDb} without security token, we should return error instead of counting documents of the tenant db with DatabaseName(tenantA, myDb).

      Attachments

        Activity

          People

            dominic.hernandez@mongodb.com Dominic Hernandez
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: