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

Pooled sessions should have use time updated when retrieved from the pool

    XMLWordPrintable

    Details

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

      Description

      The session pool implementation does not update the last used time of a session, so it considers the session to be expired 30 minutes after creation, even if the session has been taken from the pool many times.

       

      User facing impact is low, as any operations that must use the same session (e.g. getMore must use the same session as the operation used to create the cursor) hold onto the session rather than putting it back in the pool.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: