Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2544

Move pinned server from Session to CoreTransaction

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.9.0
    • None
    • Transactions
    • None

    Description

      Currently in 2.9.0-beta1, the pinned server (for mongos pinning) is stored in as a public property in the session object. It may make more sense to store it within the CoreTransaction object because a new CoreTransaction is generated for each transaction, saving us the trouble of resetting the pinned server in the session to null. If we make this change, it would have to before the final release of 2.9.0 as it would otherwise be a breaking change to the ICoreSession api.

      Attachments

        Activity

          People

            vincent.kam@mongodb.com Vincent Kam (Inactive)
            vincent.kam@mongodb.com Vincent Kam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: