Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-619

Add special executor logic for operations that hold connections

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.0
    • Component/s: None
    • Labels:
      None

      Description

      NextOperation and ChangeStreamNextOperation s (added via SWIFT-523) are unique in that they don't need new connections to be executed as their corresponding cursors and change streams hold onto connections.

      WatchOperation is also unique in that it needs to check out a connection and then give it to the change stream.

      We should add special logic to the executor / operation protocol to handle these cases.

        Attachments

          Activity

            People

            Assignee:
            kaitlin.mahar Kaitlin Mahar
            Reporter:
            kaitlin.mahar Kaitlin Mahar
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: