ex172000 opened a new pull request, #2558: URL: https://github.com/apache/iggy/pull/2558
The Iggy protocol does not include request IDs in responses, relying instead on FIFO ordering. Without serialization, concurrent requests could have responses mismatched to the wrong futures, leading to "Connection not established or closed" errors and operation failures. NOTE: Claude came up with entire block under `synchronized`, optimized to use Netty's EventLoop. Changes: - Use channel.eventLoop().execute() to serialize send operations - Ensures FIFO ordering matches between requests and responses - Proper ByteBuf cleanup in error paths - Re-enable `testConcurrentOperations` Fixes #2227 -- 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]
