[SERVER-38935] Capture errno before logging in baton_asio_linux Created: 10/Jan/19 Updated: 29/Oct/23 Resolved: 06/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.8 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Service Arch 2019-01-28, Service Arch 2019-02-11 | ||||||||
| Participants: | |||||||||
| Description |
|
In the asio baton on linux, we log with errno if we can't allocate the needed eventfd. We should capture errno before logging (so that errno isn't overwritten, before we can get it's value) to improve diagnostics |
| Comments |
| Comment by Githook User [ 06/Feb/19 ] |
|
Author: {'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}Message: Capture errno before logging when we fail to allocate an eventfd. This |
| Comment by Mira Carey [ 10/Jan/19 ] |
|
See |