[SERVER-19464] $sort stage in aggregation doesn't call scoped connections done () Created: 16/Jul/15 Updated: 05/Jan/18 Resolved: 24/Jul/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework, Sharding |
| Affects Version/s: | 2.6.10 |
| Fix Version/s: | 2.6.11, 3.0.6, 3.1.7 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Charlie Page | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Completed: | |||||||||||||
| Steps To Reproduce: | sh.enableSharding("test") ) |
||||||||||||
| Sprint: | Quint Iteration 7 | ||||||||||||
| Participants: | |||||||||||||
| Case: | (copied to CRM) | ||||||||||||
| Description |
|
The sort stage doesn't properly close the connection. This causes it to be marked as bad and not returned to the pool which leads to many log lines and connection churn. Potentially gigs per hour of log lines on a small cluster. |
| Comments |
| Comment by Githook User [ 07/Aug/15 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: This involves killing the cursor and returning the connection to the pool. (cherry picked from commit 5c20356061c19b7343cb9aab7398238581f0b600) |
| Comment by Githook User [ 07/Aug/15 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: (cherry picked from commit 0476dec3ae310f768ae7fd31418a4c8aa7c24506) Conflicts: |
| Comment by Githook User [ 29/Jul/15 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: This involves killing the cursor and returning the connection to the pool. (cherry picked from commit 5c20356061c19b7343cb9aab7398238581f0b600) |
| Comment by Githook User [ 29/Jul/15 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: (cherry picked from commit 0476dec3ae310f768ae7fd31418a4c8aa7c24506) |
| Comment by Githook User [ 28/Jul/15 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: This involves killing the cursor and returning the connection to the pool. |
| Comment by Githook User [ 28/Jul/15 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: |
| Comment by Githook User [ 24/Jul/15 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: This involves killing the cursor and returning the connection to the pool. |
| Comment by Githook User [ 24/Jul/15 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: |