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

Unify the terms used to refer to sessions created to run internal transactions

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Cluster Scalability
    • Sharding 2022-05-02, Sharding NYC 2022-05-16, Sharding NYC 2022-05-30, Sharding 2022-06-27

    Description

      Throughout the codebase and design for internal transactions, we have been using a wide range of terms to refer to sessions started by an external client and sessions are started by a router to run transactions on behalf of a client. Those terms include external/internal/non-internal sessions, child/parent sessions, logical/transaction sessions, internal sessions for retryable/non-retryable write etc. The lack of formal terminology has made it difficult for us to write clear code. For example, the name of this _isInternalSession() method is misleading since it is possible for an internally started session to not have a parent session. This ticket to unify the naming and investigate if there is any bug caused by the existing ambiguity. 

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: