|
"$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.
|