jnioche opened a new pull request, #1864: URL: https://github.com/apache/stormcrawler/pull/1864
## Summary - The static `client` field is initialized under `synchronized(AbstractSpout.class)`, but `close()` was unsynchronized, allowing multiple spout instances to close the same client concurrently - `client` was never set to `null` after closing, so the null check provided no protection against double-close - Synchronize `close()` on `AbstractSpout.class` and set `client = null` after closing ## Test plan - [ ] Verify compilation with `mvn compile -pl external/opensearch -am` - [ ] Verify existing OpenSearch integration tests pass 🤖 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]
