[SERVER-20436] NetworkInterfaceASIO Connection Pool races in shutdown with new requests Created: 16/Sep/15 Updated: 07/Oct/15 Resolved: 16/Sep/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | 3.1.8 |
| Fix Version/s: | 3.1.9 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platform 9 (09/18/15) |
| Participants: |
| Description |
|
NetworkInterfaceASIO's connection pool can race in it's shutdown method with a new request, where the new request doesn't trigger a cancellation of the shutdown timer fast enough and we end up triggering one of the shutdown invariants (either pending requests or checked out connections) We should guard against that and bail out if enter shutdown spuriously |
| Comments |
| Comment by Githook User [ 16/Sep/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}Message: |
| Comment by Githook User [ 16/Sep/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}Message: Revert " This reverts commit 6bd10b12ce52ae01d5f5782e4fa6dacc31742c43. |
| Comment by Githook User [ 16/Sep/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}Message: updateState needs to be called after every manipulation of the |
| Comment by Githook User [ 16/Sep/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}Message: NetworkInterfaceASIO's connection pool can race in it's shutdown method We should guard against that and bail out if enter shutdown spuriously. |