-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Service Arch
-
ALL
The function OplogApplicationChecks::checkOperationAuthorization does not handle the tenant information which is set by $tenant on the applyOps command request. That makes the server returns error message "TenantId must be set on nss list_collections_no_views.system.views" and error code 6972100.
This issue is found when we test the applyOps command with injected dollar tenant. Here are some jstests which run command "applyOps":
- jstests/core/list_collections_no_views.js
- jstests/core/apply_ops1.js
- jstests/core/apply_ops2.js
- jstests/core/apply_ops_dups.js
- jstests/core/apply_ops_index_collation.js
- jstests/core/apply_ops_missing_field.js
- jstests/core/apply_ops_system_dot_views.js
- jstests/core/list_collections_no_views.js