-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Service Arch
-
3
When creating oplog entries for transactions, the top-level tenantId field needs to match the individual ops contained in the applyOps array. SERVER-69233 represents a quick-fix that was needed to unblock SERVER-66641 which addressed this issue, but we may want to look at a more efficient way of populating the tenantId than parsing the BSONObj document.
The parsing is currently done in op_observer_impl.cpp, but we may wish to consider passing the tenantId down from commitTransaction/prepareTransaction calls instead.
- related to
-
SERVER-86091 Complete TODO listed in SERVER-69286
- Closed