v3.1: bug: use try_send in handle_forwarded_packets (backport of #10498)#10552
v3.1: bug: use try_send in handle_forwarded_packets (backport of #10498)#10552
Conversation
* bug: use try_send in handle_forwarded_packets * add fetch_stage-dropped_forwards (cherry picked from commit 68fcb67)
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## v3.1 #10552 +/- ##
=========================================
- Coverage 83.2% 83.2% -0.1%
=========================================
Files 865 865
Lines 376601 376612 +11
=========================================
- Hits 313609 313587 -22
- Misses 62992 63025 +33 🚀 New features to boost your workflow:
|
|
If we assume that users use released version of 3.1 and not raw branch v3.1 then why not it is enough to ensure that both of these changes land to the same release? |
Generally, yes, I expect that most people will update to the The point is to be deliberate with how we release upgrades and to remove/minimize the chance of introducing a foot-gun. What is we merged 10551 first because "it should be fine, 10552 coming soon" but then 10552 gets held up because it breaks something else. There is nothing to be gained by assuming that people will pick up both commits, and there is no reason to merge them in the "wrong" order if we know that the "wrong" order creates a bug |
So in theory, if we are again in such situation and we have commit introducing some bug and after that PR fixing it if nothing has been released and changes are minimal, is the best way to revert original PR and introduce a new one with bug fixed? |
Just making sure - you are asking about the master PR's, not the v3.1 PR's right ? If so, then yes, I think that it is typically preferred to back out the original and then reapply with fix. When we find that commits break something very obviously (CI, canaries, etc), we back it out as soon as the bug is discovered If a couple weeks pass before the bug is discovered, things can get a little ambiguous if the commit doesn't revert cleanly. |
|
^ To add onto @steviez's comment - I did this incorrectly. I think your PR could have been cleanly reverted and fixed. Then backported as a whole. |
Problem
sendon a channel that is now bounded (streamer/sigverify: use bounded channels between streamers and sigver #9732)sendwill block until there is free capacitySummary of Changes
try_sendand drop packets if the channel is at capacityFixes #
This is an automatic backport of pull request #10498 done by [Mergify](https://mergify.com).