[JAVA-1994] Driver should use already-checked out AsyncConnection to kill a cursor. Created: 01/Oct/15 Updated: 07/Oct/15 Resolved: 02/Oct/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Async, Query Operations |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The asynchronous cursor implementation checks out a new connection from the pool in order to send a kill cursor message. But that's unnecessary, because in most cases it already has a connection checked out, either from the initial query or a subsequent get-more. In those cases, it should use the connection that's already available rather than check out a new one. |
| Comments |
| Comment by Jeffrey Yemin [ 07/Oct/15 ] |
|
Released in 3.1.0 |
| Comment by Githook User [ 02/Oct/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |