[SERVER-71018] Break dependency between lib transaction and lib query_exec Created: 02/Nov/22  Updated: 29/Oct/23  Resolved: 13/Feb/23

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Daniel Gomez Ferro Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: techdebt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-71019 Remove usage of MONGO_WEAK_FUNCTION f... Closed
Related
is related to SERVER-73930 Make repl::StorageInterface do less q... Backlog
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-02-20
Participants:

 Description   

Currently libtransaction depends on libquery_exec through the following dependency chain:

transaction/libtransaction.so => 
session/libsession_catalog_mongod.so => 
libindex_builds_coordinator_interface.so => 
catalog/libindex_builds_manager.so => 
storage/libstorage_repair_observer.so => 
libdbhelpers.so => 
libquery_exec.so

Even though compared to query execution, transactions are a higher level concept, TransactionParticipant is an OperationContext decorator and it could be accessed throughout the stack, we should try to limit its dependencies as much as possible.



 Comments   
Comment by Githook User [ 13/Feb/23 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@users.noreply.github.com', 'username': 'benety'}

Message: SERVER-71018 remove dbhelper dependency from StorageRepairObserver
Branch: master
https://github.com/mongodb/mongo/commit/dab81ced807fb71bfe5afc9d3281b9946c6f027b

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