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

SingleConnectionDeployment should not be used for application operations

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.4
    • Affects Version/s: None
    • Component/s: CRUD
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: