szetszwo commented on pull request #3195: URL: https://github.com/apache/ozone/pull/3195#issuecomment-1077390306
> I noticed that in HDFS, marking the end of stream is also represented by an empty package. @guohao-rosicky , HDFS pipeline? HDFS use TPC to implement packet streams. There is a header for each packet. But Ratis exposes byte streams. Of course, Ozone may choose to add a header for each call but it will add more overhead and need more code changes. > Ok, I have been in the https://github.com/apache/ozone/pull/2860 in the abstract BTW, I have filed #3229 (HDDS-6500) for buffering the PutBlockRequest at the end of the stream. Once we have putBlockRequest added to the end of the stream, #2860 becomes much simpler since we can write everything in a single call and don't have to change the server code much. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
