chore(amber): remove the unused EmptyReplayLogger - #7452
Conversation
Automated Reviewer SuggestionsBased on the
|
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 376 | 0.229 | 27,068/37,552/37,552 us | 🔴 +15.3% / 🔴 +133.0% |
| 🔴 | bs=100 sw=10 sl=64 | 777 | 0.474 | 128,531/158,524/158,524 us | 🔴 +6.6% / 🔴 +42.5% |
| ⚪ | bs=1000 sw=10 sl=64 | 912 | 0.556 | 1,091,646/1,151,546/1,151,546 us | ⚪ within ±5% / 🔴 +8.4% |
Baseline details
Latest main e03d971 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 376 tuples/sec | 398 tuples/sec | 752.25 tuples/sec | -5.5% | -50.0% |
| bs=10 sw=10 sl=64 | MB/s | 0.229 MB/s | 0.243 MB/s | 0.459 MB/s | -5.8% | -50.1% |
| bs=10 sw=10 sl=64 | p50 | 27,068 us | 23,470 us | 13,006 us | +15.3% | +108.1% |
| bs=10 sw=10 sl=64 | p95 | 37,552 us | 37,192 us | 16,117 us | +1.0% | +133.0% |
| bs=10 sw=10 sl=64 | p99 | 37,552 us | 37,192 us | 19,286 us | +1.0% | +94.7% |
| bs=100 sw=10 sl=64 | throughput | 777 tuples/sec | 826 tuples/sec | 953.66 tuples/sec | -5.9% | -18.5% |
| bs=100 sw=10 sl=64 | MB/s | 0.474 MB/s | 0.504 MB/s | 0.582 MB/s | -6.0% | -18.6% |
| bs=100 sw=10 sl=64 | p50 | 128,531 us | 120,577 us | 105,130 us | +6.6% | +22.3% |
| bs=100 sw=10 sl=64 | p95 | 158,524 us | 152,161 us | 111,226 us | +4.2% | +42.5% |
| bs=100 sw=10 sl=64 | p99 | 158,524 us | 152,161 us | 121,065 us | +4.2% | +30.9% |
| bs=1000 sw=10 sl=64 | throughput | 912 tuples/sec | 917 tuples/sec | 984.25 tuples/sec | -0.5% | -7.3% |
| bs=1000 sw=10 sl=64 | MB/s | 0.556 MB/s | 0.56 MB/s | 0.601 MB/s | -0.7% | -7.4% |
| bs=1000 sw=10 sl=64 | p50 | 1,091,646 us | 1,085,417 us | 1,024,295 us | +0.6% | +6.6% |
| bs=1000 sw=10 sl=64 | p95 | 1,151,546 us | 1,185,028 us | 1,062,710 us | -2.8% | +8.4% |
| bs=1000 sw=10 sl=64 | p99 | 1,151,546 us | 1,185,028 us | 1,095,400 us | -2.8% | +5.1% |
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,532.11,200,128000,376,0.229,27068.39,37551.70,37551.70
1,100,10,64,20,2574.97,2000,1280000,777,0.474,128531.45,158524.01,158524.01
2,1000,10,64,20,21940.33,20000,12800000,912,0.556,1091646.25,1151545.56,1151545.56
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7452 +/- ##
============================================
- Coverage 85.32% 85.32% -0.01%
+ Complexity 4151 4149 -2
============================================
Files 1169 1168 -1
Lines 46740 46738 -2
Branches 5202 5202
============================================
- Hits 39882 39880 -2
Misses 5148 5148
Partials 1710 1710
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
I also think this looks unused. @shengquan-ni can you help confirm? |
What changes were proposed in this PR?
Deletes
EmptyReplayLoggerand its spec — a no-opReplayLoggerthat the log-replay factory no longer reaches. Pure deletion, no behaviour change: −171 lines.The null-object role moved up a layer to
EmptyReplayLogManagerImpl, which implements the no-ops inline:No configuration selects a logger class by name, so there is no path that revives it.
Any related issues, documentation, discussions?
Closes #7449
How was this PR tested?
Existing tests only — this PR adds none, since it removes code and the spec that covered it.
Locally, from the repo root with Java 17:
sbt "WorkflowExecutionService/Test/compile"— success.Verification, re-runnable by a reviewer:
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5)