Details
-
Task
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
None
-
Server Serverless 2022-01-10
Description
A few existing security tests use the supportMultitenancy parameter already, and when run on the all feature flags variants will crash when constructing a TenantNamespace because featureFlagRequireTenantId is enabled, but not all callers will have the tenantId available to them yet. Change the check in the TenantNamespace constructor to check whether a failpoint is enabled rather than the feature flag for now. Once the work to always set the tenantId on the opCtx and to add tenantId to oplog entries is done, we can switch back to using the feature flag.