ivandika3 commented on PR #955:
URL: https://github.com/apache/ratis/pull/955#issuecomment-1785230080

   Thank you for the review and guidance @szetszwo.  
   
   I have updated it accordingly, but found that Datastream tests threw this 
error.
   
   ```
   java.lang.IllegalStateException: Failed to get StreamInfo for 
DataStreamRequestByteBuf:clientId=client-FF2407A774AC,type=STREAM_DATA,id=0,offset=75998,length=607
        at 
org.apache.ratis.netty.server.DataStreamManagement.lambda$readImpl$11(DataStreamManagement.java:467)
        at java.base/java.util.Optional.orElseThrow(Optional.java:408)
        at 
org.apache.ratis.netty.server.DataStreamManagement.readImpl(DataStreamManagement.java:466)
        at 
org.apache.ratis.netty.server.DataStreamManagement.read(DataStreamManagement.java:433)
        at 
org.apache.ratis.netty.server.NettyServerStreamRpc$1.channelRead(NettyServerStreamRpc.java:236)
   ``` 
   
   From my understanding, it might be because `STREAM_HEADER` was not sent, 
before the `STREAM_DATA` was received. I will try to resolve this.


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