Stop parsing tenant prefix without atlas proxy protocol in multitenancy

XMLWordPrintableJSON

    • Service Arch
    • Fully Compatible
    • Service Arch 2024-03-18
    • 3
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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).

              Assignee:
              Didier Nadeau
              Reporter:
              Sophia Tan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: