[SERVER-62391] Add "tid" field to oplog entries Created: 06/Jan/22  Updated: 29/Oct/23  Resolved: 31/Jan/22

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

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Hugh Tong (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-63354 fix macos dyld limit Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-01-24, Server Serverless 2022-02-07
Participants:

 Description   

Add a new field to oplog entries, "tid", that stores the tenantId. This field should be part of the DurableReplOperation struct, and should be boost::optional.

i.e.:

{
    op: 'i',
    ns: "<database>.<collection>", ui: <existingUUID>,
    tid: "<tenant>",
    o: { ... }, ...
}

Include this as a parameter in DurableOplogEntry::DurableOplogEntry and makeOplogEntryDoc.



 Comments   
Comment by Githook User [ 28/Jan/22 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-62391 Add tenantId field to oplog entries
Branch: master
https://github.com/mongodb/mongo/commit/f3b5c8b7ab5b2301a95cf588d9f20daf6c3df601

Generated at Thu Feb 08 05:55:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.