The GitHub Actions job "Java CI with Maven" on 
stormcrawler.git/fix-json-url-filter-wrapper-leak has failed.
Run started by GitHub user jnioche (triggered by jnioche).

Head commit for run:
12d5aa12445a00065e439dc283faa3cad66d5b78 / Julien Nioche 
<[email protected]>
Fix timer and client leak in OpenSearch JSONURLFilterWrapper

Add cleanup() lifecycle method to URLFilter (mirroring ParseFilter.cleanup())
and wire it through URLFilters, StatusEmitterBolt, URLFilterBolt, and all
bolt subclasses via super.cleanup() calls.

The Timer and RestHighLevelClient in JSONURLFilterWrapper were created inside
an anonymous TimerTask with no way to cancel or close them. The timer thread
runs forever and the client's connection pool is never shut down.

Store both as instance fields and override cleanup() to cancel the timer and
close the client.

Co-Authored-By: Claude Opus 4.6 <[email protected]>

Report URL: https://github.com/apache/stormcrawler/actions/runs/23914768968

With regards,
GitHub Actions via GitBox

Reply via email to