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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.3.0
    • None
    • 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

            divjot.arora@mongodb.com Divjot Arora
            divjot.arora@mongodb.com Divjot Arora
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: