RATIS-2426. Fix memory leak in ServerRequestStreamObserver by ivandika3 · Pull Request #1368 · apache/ratis
added 4 commits
March 9, 2026 11:02
ivandika3
changed the title
Ratis 2426
RATIS-2426. Fix memory leak in ServerRequestStreamObserver
Add a static counter in GrpcServerProtocolService that tracks handleError closures where previousOnNext was not cleaned up. The test asserts the counter remains zero, which fails without the previousOnNext.set(null) fix. Made-with: Cursor
ivandika3
marked this pull request as ready for review
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