[SERVER-81499] Pass tenantId in renameCollection oplog entry for AuthOpObserver Created: 27/Sep/23  Updated: 23/Jan/24

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Hugh Tong (Inactive) Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: ntdi_releasability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Participants:
Story Points: 3

 Description   

AuthOpObserver creates psuedo oplog entries that are used for various filtering tasks.  When it produces entries for renameCollection operations, we need to add tenantIds to the entry so that it can be consumed when auth filtering is performed.  While the filtering end is not necessarily concerned with the tenantId, we want to prevent tenantIds from being passed as prefixes.  If we can modify the producer to generate tid fields when a tenantId is being passed in, we can simplify the consumer and remove the setExpectTenantPrefixForAuth function from serialization context and related functionality.


Generated at Thu Feb 08 06:46:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.