[SERVER-19000] Extract a new ThreadPool class from repl::NetworkInterfaceImpl Created: 16/Jun/15 Updated: 25/Jan/17 Resolved: 15/Jul/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.6 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Sharding 5 06/26/16, Sharding 6 07/17/15 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
The thread pool implemented inside of repl::NetworkInterfaceImpl can adjust its size dynamically, and offers more extensibility than threadpool::ThreadPool. This task is to build a new ThreadPool class, use it instead of the hand-rolled thread pool in NetworkInterfaceImpl, and to replace the old ThreadPool class. |
| Comments |
| Comment by Githook User [ 15/Jul/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |
| Comment by Githook User [ 15/Jul/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |
| Comment by Githook User [ 14/Jul/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |
| Comment by Githook User [ 24/Jun/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |
| Comment by Githook User [ 24/Jun/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: While joining a ThreadPool, the value of the "numThreads" stats value is locked As such, it is not correct to make assertions about the value of numThreads |
| Comment by Githook User [ 23/Jun/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: This pool is derived from the one built into executor::NetworkInterfaceImpl. |
| Comment by Githook User [ 23/Jun/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: Revert " This reverts commit 444b1859d1311fd5b775e1d4a0dba32c14d3c4f5. |
| Comment by Githook User [ 23/Jun/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: This pool is derived from the one built into executor::NetworkInterfaceImpl. |
| Comment by Githook User [ 17/Jun/15 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: This is in preparation for introducing a new ThreadPool that will subsume the old one. |