Repository navigation
Commit fea30a2
authored
fix(core): Drop sampled-out errors before they take a promise buffer slot (#25751)
Since #22671 sampled-out errors run the whole event pipeline while
holding a client buffer slot, so error bursts on Node fill it up and
real errors get dropped as queue_overflow, fixed by dropping sampled-out
errors right away when there is no ok session for them to update.
I added tests showing sampled-out errors no longer overflow the buffer
without a session and still go through the pipeline when one exists.1 parent 70b6218 commit fea30a2
2 files changed
Lines changed: 59 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
108 | 115 | | |
109 | 116 | | |
110 | 117 | | |
| |||
1550 | 1557 | | |
1551 | 1558 | | |
1552 | 1559 | | |
| 1560 | + | |
1553 | 1561 | | |
1554 | 1562 | | |
1555 | 1563 | | |
1556 | 1564 | | |
1557 | 1565 | | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
1558 | 1574 | | |
1559 | 1575 | | |
1560 | 1576 | | |
| |||
1602 | 1618 | | |
1603 | 1619 | | |
1604 | 1620 | | |
1605 | | - | |
1606 | 1621 | | |
1607 | 1622 | | |
1608 | 1623 | | |
1609 | 1624 | | |
1610 | | - | |
| 1625 | + | |
1611 | 1626 | | |
1612 | | - | |
1613 | | - | |
1614 | | - | |
| 1627 | + | |
1615 | 1628 | | |
1616 | 1629 | | |
1617 | 1630 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
| 555 | + | |
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
| 559 | + | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
| 565 | + | |
566 | 566 | | |
567 | | - | |
| 567 | + | |
568 | 568 | | |
| 569 | + | |
569 | 570 | | |
570 | 571 | | |
571 | 572 | | |
| |||
4531 | 4532 | | |
4532 | 4533 | | |
4533 | 4534 | | |
| 4535 | + | |
| 4536 | + | |
| 4537 | + | |
| 4538 | + | |
| 4539 | + | |
| 4540 | + | |
| 4541 | + | |
| 4542 | + | |
| 4543 | + | |
| 4544 | + | |
| 4545 | + | |
| 4546 | + | |
| 4547 | + | |
| 4548 | + | |
| 4549 | + | |
| 4550 | + | |
| 4551 | + | |
| 4552 | + | |
| 4553 | + | |
| 4554 | + | |
| 4555 | + | |
| 4556 | + | |
| 4557 | + | |
| 4558 | + | |
| 4559 | + | |
| 4560 | + | |
| 4561 | + | |
| 4562 | + | |
| 4563 | + | |
| 4564 | + | |
| 4565 | + | |
| 4566 | + | |
| 4567 | + | |
| 4568 | + | |
| 4569 | + | |
4534 | 4570 | | |
4535 | 4571 | | |
4536 | 4572 | | |
| |||
0 commit comments