Commit d03c2e7
committed
Fix error reporting on IOCP out of resources.
Here is my understanding of the history of this patch.
The patch that was applied to MongoDB's old vendored ASIO is
[0006-MONGO-Fix-IOCP-out-of-resource-handling.patch][1].
That patch is a solution to an [outstanding issue][2] in upstream ASIO,
both then and now.
The reason we applied the patch was because we thought that is might be
the solution to `BF-9006`. So, [SERVER-36885][3] was created to patch
ASIO.
But in `SERVER-36885`, its author says that likely the BF wasn't caused
by this ASIO issue, but instead was fixed by [SERVER-38789][4].
So, these changes probably address a genuine issue in ASIO, but possibly
not one that MongoDB has ever encountered.
[1]: https://github.com/mongodb/mongo/blob/4c38808c10021549e34e59b696e89b6541fae4c4/src/third_party/asio-master/patches/0006-MONGO-Fix-IOCP-out-of-resource-handling.patch
[2]: chriskohlhoff#312
[3]: https://jira.mongodb.org/browse/SERVER-36885
[4]: https://jira.mongodb.org/browse/SERVER-387891 parent caca4fa commit d03c2e7
File tree
2 files changed
+16
-6
lines changed- asio/include/asio/detail
- impl
2 files changed
+16
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
358 | 359 | | |
359 | | - | |
| 360 | + | |
360 | 361 | | |
361 | 362 | | |
362 | 363 | | |
| |||
379 | 380 | | |
380 | 381 | | |
381 | 382 | | |
| 383 | + | |
382 | 384 | | |
383 | | - | |
| 385 | + | |
384 | 386 | | |
385 | 387 | | |
386 | 388 | | |
| |||
401 | 403 | | |
402 | 404 | | |
403 | 405 | | |
| 406 | + | |
404 | 407 | | |
405 | | - | |
| 408 | + | |
406 | 409 | | |
407 | 410 | | |
408 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
| |||
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
71 | | - | |
| 76 | + | |
| 77 | + | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| |||
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| 93 | + | |
87 | 94 | | |
88 | 95 | | |
89 | 96 | | |
| |||
0 commit comments