Repository navigation
refactor(amber): remove the unused cache.ccf - #8815
Merged
Merged
Conversation
JCS loads /cache.ccf implicitly when a cache region is first created, and the only code that ever created one, JCSOpResultStorage, went away in apache#1363. The commons-jcs3 dependency stays: ComputingUnitMaster and ComputingUnitWorker still use its InvalidArgumentException, which never touches the cache manager.
Contributor
Automated Reviewer SuggestionsBased on the
|
Contributor
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 372 | 0.227 | 26,306/35,687/35,687 us | 🔴 +5.9% / 🔴 +132.9% |
| 🟢 | bs=100 sw=10 sl=64 | 780 | 0.476 | 125,677/166,388/166,388 us | 🟢 -6.4% / 🔴 +59.1% |
| 🔴 | bs=1000 sw=10 sl=64 | 898 | 0.548 | 1,107,255/1,272,950/1,272,950 us | 🔴 +10.8% / 🔴 +27.1% |
Baseline details
Latest main 566efb8 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 372 tuples/sec | 393 tuples/sec | 829.66 tuples/sec | -5.3% | -55.2% |
| bs=10 sw=10 sl=64 | MB/s | 0.227 MB/s | 0.24 MB/s | 0.506 MB/s | -5.4% | -55.2% |
| bs=10 sw=10 sl=64 | p50 | 26,306 us | 24,852 us | 12,230 us | +5.9% | +115.1% |
| bs=10 sw=10 sl=64 | p95 | 35,687 us | 37,703 us | 15,320 us | -5.3% | +132.9% |
| bs=10 sw=10 sl=64 | p99 | 35,687 us | 37,703 us | 18,789 us | -5.3% | +89.9% |
| bs=100 sw=10 sl=64 | throughput | 780 tuples/sec | 788 tuples/sec | 1,070 tuples/sec | -1.0% | -27.1% |
| bs=100 sw=10 sl=64 | MB/s | 0.476 MB/s | 0.481 MB/s | 0.653 MB/s | -1.0% | -27.1% |
| bs=100 sw=10 sl=64 | p50 | 125,677 us | 119,757 us | 97,964 us | +4.9% | +28.3% |
| bs=100 sw=10 sl=64 | p95 | 166,388 us | 177,840 us | 104,605 us | -6.4% | +59.1% |
| bs=100 sw=10 sl=64 | p99 | 166,388 us | 177,840 us | 113,908 us | -6.4% | +46.1% |
| bs=1000 sw=10 sl=64 | throughput | 898 tuples/sec | 915 tuples/sec | 1,096 tuples/sec | -1.9% | -18.1% |
| bs=1000 sw=10 sl=64 | MB/s | 0.548 MB/s | 0.559 MB/s | 0.669 MB/s | -2.0% | -18.1% |
| bs=1000 sw=10 sl=64 | p50 | 1,107,255 us | 1,092,078 us | 963,379 us | +1.4% | +14.9% |
| bs=1000 sw=10 sl=64 | p95 | 1,272,950 us | 1,149,195 us | 1,001,808 us | +10.8% | +27.1% |
| bs=1000 sw=10 sl=64 | p99 | 1,272,950 us | 1,149,195 us | 1,029,482 us | +10.8% | +23.6% |
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,537.90,200,128000,372,0.227,26306.36,35686.72,35686.72
1,100,10,64,20,2565.03,2000,1280000,780,0.476,125676.59,166387.72,166387.72
2,1000,10,64,20,22275.49,20000,12800000,898,0.548,1107254.60,1272950.45,1272950.45
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8815 +/- ##
=========================================
Coverage 92.58% 92.59%
Complexity 4981 4981
=========================================
Files 1244 1244
Lines 52933 52933
Branches 6550 6550
=========================================
+ Hits 49009 49011 +2
+ Misses 2293 2292 -1
+ Partials 1631 1630 -1
*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:
|
mengw15
approved these changes
Oct 2, 2026
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?
Deletes
amber/src/main/resources/cache.ccf, an Apache Commons JCS cache configuration that nothing loads. −29 lines. There is no behaviour change. Thecommons-jcs3-coredependency stays, becauseComputingUnitMaster/ComputingUnitWorkerstill import itsInvalidArgumentException.JCS never names this file in code: it loads
/cache.ccffrom the classpath implicitly, when the cache manager creates its first region. So the check for this PR is whether anything can create a JCS cache, not whether the file name appears anywhere. Nothing can:InvalidArgumentException. Nothing callsJCS.getInstance,CacheAccess,CompositeCacheManagerorJCSWorker.InvalidArgumentExceptionis a plainRuntimeExceptionsubclass with no static initializer, so throwing it never reaches the cache manager.History
JCSOpResultStorage'sJCS.getInstance("texera")JCSOpResultStorage, the only code that ever created a JCS cacheIt has been dead for over four and a half years.
Any related issues, documentation, discussions?
Closes #8814
How was this PR tested?
No new tests; this deletes a resource file that nothing loads.
Locally, from the repo root with Java 17:
sbt "WorkflowExecutionService/Test/compile": success.To re-check:
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5.5)
🤖 Generated with Claude Code