jnioche opened a new pull request, #1869: URL: https://github.com/apache/stormcrawler/pull/1869
## Summary - Extracts duplicated waitAck cache and bulk response processing logic from `DeletionBolt`, `IndexerBolt`, and `StatusUpdaterBolt` into a new shared `WaitAckCache` class - Reduces ~595 lines of duplicated code across the three bolts into a single reusable component with bolt-specific callbacks - Adds 11 unit tests for `WaitAckCache` covering success, failure, conflicts, eviction, duplicate doc IDs (#832), and edge cases — no OpenSearch container needed ## Test plan - [x] `mvn test -pl external/opensearch -Dtest=WaitAckCacheTest` — all 11 new unit tests pass - [x] `mvn compile -pl external/opensearch -am` — clean compile - [ ] Existing integration tests (`IndexerBoltTest`, `StatusBoltTest`) pass against OpenSearch container 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
