fix(amber): guard resends by destination - #8002
Merged
aglinxinyuan merged 1 commit intoAug 28, 2026
Merged
Conversation
Contributor
Backport auto-label reportThis
|
Contributor
Automated Reviewer SuggestionsBased on the
|
Contributor
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 558 | 0.34 | 17,065/31,252/31,252 us | 🔴 +21.3% / 🔴 +125.8% |
| 🟢 | bs=100 sw=10 sl=64 | 1,251 | 0.764 | 79,291/94,682/94,682 us | 🟢 -12.2% / 🟢 -9.4% |
| ⚪ | bs=1000 sw=10 sl=64 | 1,444 | 0.881 | 694,076/723,898/723,898 us | ⚪ within ±5% / 🟢 -22.8% |
Baseline details
Latest main 444fc58 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 558 tuples/sec | 608 tuples/sec | 894.86 tuples/sec | -8.2% | -37.6% |
| bs=10 sw=10 sl=64 | MB/s | 0.34 MB/s | 0.371 MB/s | 0.546 MB/s | -8.4% | -37.7% |
| bs=10 sw=10 sl=64 | p50 | 17,065 us | 15,819 us | 11,139 us | +7.9% | +53.2% |
| bs=10 sw=10 sl=64 | p95 | 31,252 us | 25,771 us | 13,843 us | +21.3% | +125.8% |
| bs=10 sw=10 sl=64 | p99 | 31,252 us | 25,771 us | 16,839 us | +21.3% | +85.6% |
| bs=100 sw=10 sl=64 | throughput | 1,251 tuples/sec | 1,280 tuples/sec | 1,166 tuples/sec | -2.3% | +7.3% |
| bs=100 sw=10 sl=64 | MB/s | 0.764 MB/s | 0.781 MB/s | 0.711 MB/s | -2.2% | +7.4% |
| bs=100 sw=10 sl=64 | p50 | 79,291 us | 75,999 us | 87,509 us | +4.3% | -9.4% |
| bs=100 sw=10 sl=64 | p95 | 94,682 us | 107,793 us | 93,675 us | -12.2% | +1.1% |
| bs=100 sw=10 sl=64 | p99 | 94,682 us | 107,793 us | 102,153 us | -12.2% | -7.3% |
| bs=1000 sw=10 sl=64 | throughput | 1,444 tuples/sec | 1,435 tuples/sec | 1,198 tuples/sec | +0.6% | +20.5% |
| bs=1000 sw=10 sl=64 | MB/s | 0.881 MB/s | 0.876 MB/s | 0.731 MB/s | +0.6% | +20.5% |
| bs=1000 sw=10 sl=64 | p50 | 694,076 us | 696,563 us | 859,766 us | -0.4% | -19.3% |
| bs=1000 sw=10 sl=64 | p95 | 723,898 us | 758,165 us | 902,897 us | -4.5% | -19.8% |
| bs=1000 sw=10 sl=64 | p99 | 723,898 us | 758,165 us | 937,957 us | -4.5% | -22.8% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,358.72,200,128000,558,0.340,17064.81,31251.65,31251.65
1,100,10,64,20,1598.32,2000,1280000,1251,0.764,79290.58,94682.40,94682.40
2,1000,10,64,20,13850.38,20000,12800000,1444,0.881,694075.85,723897.69,723897.69
aglinxinyuan
approved these changes
Aug 28, 2026
Contributor
|
Backport PR opened: draft #8062 (#8062) to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Use the destination worker, rather than the sender, when deciding whether an unacknowledged network message can be resent.
Regression tests cover both directions: a registered destination with an unknown sender resends successfully, while a registered sender with a missing destination does not resend.
Any related issues, documentation, discussions?
Closes #6921.
How was this PR tested?
The two regression tests were added first and both failed against the old sender guard. After the one-line fix:
Result: 5 tests passed.
Result: all lint, formatting, and diff checks passed.
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Codex was used for implementation and verification assistance. I reviewed the final code and test output before submission.