Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1615

SingleConnectionDeployment should not be used for application operations

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.3.4
    • None
    • CRUD
    • None

    Description

      The SingleConnectionDeployment has two problems:

      1. It doesn't implement ErrorProcessor, so application errors aren't handled per the SDAM error handling spec. SingleServerDeployment probably has the same issue.
      2. It wraps connections in nopCloserConnection, which prevents any interfaces they implemented like Compressor from being used.

      Change streams use these deployment types, so they should be changed.

      Attachments

        Activity

          People

            divjot.arora@mongodb.com Divjot Arora (Inactive)
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: