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

SingleConnectionDeployment should not be used for application operations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.4
    • Component/s: CRUD
    • Labels:
      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

            Assignee:
            divjot.arora Divjot Arora
            Reporter:
            divjot.arora Divjot Arora
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: