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

Hide internal transaction coordinator state

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.7
    • None
    • Sharding
    • None
    • Fully Compatible

    Description

      Currently there is a public method to get the state of a transaction coordinator. Since callers of this won't be locking the internal mutex of the coordinator, it's possible they may make a decision based on a stale state value. It's currently not a correctness issue but it's worth reconsidering the design to prevent problems in the future and to have better encapsulation.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: