You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2026/07/02 06:23:19 UTC

[GH] (shardingsphere/fix-ordered-spi-loader-cache-apache): Workflow run "E2E - SQL" is working again!

The GitHub Actions job "E2E - SQL" on shardingsphere.git/fix-ordered-spi-loader-cache-apache has succeeded.
Run started by GitHub user iamhucong (triggered by iamhucong).

Head commit for run:
3e4f9bf0232985a7efd1bab9d7ed460433a3dd1b / Cong Hu <ia...@gmail.com>
fix(spi): avoid retaining multi-object OrderedSPI cache keys

WHAT: Remove the singleton OrderedSPILoader object-collection cache for multi-object lookups and add focused coverage for multi-object, same-class, comparator, singleton, and prototype behavior.

WHY: Transient RuleConfiguration and YamlRuleConfiguration collections can otherwise be retained by the JVM-lifetime singleton registry and lead to heap growth, frequent Full GC, and OOM.

HOW: Keep the single-object fast path, singleton service reuse, and class-based cache. Rebuild current object-keyed results from Class<?> keys for multi-object lookups. Verified with infra/spi tests, Spotless, Checkstyle, RAT, and local JMH before/after.

Report URL: https://github.com/apache/shardingsphere/actions/runs/28568920766

With regards,
GitHub Actions via GitBox