hubcio opened a new pull request, #2856:
URL: https://github.com/apache/iggy/pull/2856

   After a metadata state machine commit, the Reply message had an empty body 
-- mux_stm.update() returned () and the result was discarded. Clients need the 
response (e.g. assigned IDs) to proceed without a second query.
   
   StateHandler::apply now returns Bytes, stored in a last_result field on each 
*Inner struct during
   left_right::Absorb (which forces () return). After publish(), the result is 
read back through ReadHandle and propagated through State -> StateMachine -> 
MuxSTM into build_reply_message, which now accepts a body parameter and 
constructs a variable-length BytesMut buffer instead of a header-only transmute.
   
   All 19 handlers return Bytes::new() for now.


-- 
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]

Reply via email to