Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-71018

Break dependency between lib transaction and lib query_exec

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: Storage
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-02-20

      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.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: