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

currentOp requests with dollar tenant cannot get operations being executed by the tenant

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Serverless
    • Fully Compatible
    • ALL
    • Server Serverless 2023-01-23, Server Serverless 2023-02-06
    • 70
    • 2

      "$currentOp" request with dollar tenant cannot get operations being executed by the tenant.

      This issue can be observed when we execute the following jstest with NDTI dollar tenant passthrough test suite:

      • jstests/core/crud_ops_do_not_throw_locktimeout.js
      • jstests/core/currentop_waiting_for_latch.js
      • jstests/core/txns/kill_cursors_in_transaction.js
      • jstests/core/txns/kill_sessions_kills_transaction.js
      • jstests/core/fsync.js
      • jstests/core/txns/transactions_block_ddl.js

      It perhaps is caused by the code which compares client user's tenant id and request's tenant id.
      Actually, for other super users who are authorized for ActionType::useTenant but have empty/different tenant id, we also should get the operations which are being executed by the indicated tenant.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: