[GODRIVER-1478] Pooled sessions should have use time updated when retrieved from the pool Created: 03/Feb/20 Updated: 28/Oct/23 Resolved: 04/Feb/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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. |
| Comments |
| Comment by Githook User [ 04/Feb/20 ] |
|
Author: {'username': 'divjotarora', 'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com'}Message: |