[ https://issues.apache.org/jira/browse/RATIS-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756658#comment-16756658 ]
Josh Elser commented on RATIS-470: ---------------------------------- Thanks, Vlad! I wanted to come back and consolidate what was in that (now complicated) read method anyways. I will look into your suggestions. Appreciate the review. > write(List<ByteBuffer>) not correctly handling all records > ---------------------------------------------------------- > > Key: RATIS-470 > URL: https://issues.apache.org/jira/browse/RATIS-470 > Project: Ratis > Issue Type: Bug > Components: LogService > Reporter: Josh Elser > Assignee: Josh Elser > Priority: Major > Fix For: 0.4.0 > > > Digging into LogServiceReadWriteBase, I'm noticing that the validation clause > for the data we wrote to the state machine is lacking. > The test writes 10 "records" into the log, but because we write these in a > single message to the state machine, we only get one "record" in the Raft log. > Need to figure out how to take the one client-protobuf message containing N > "logservice records" but make sure we have N "raft messages" in the log (or > something equivalent). > fyi [~chrajeshbab...@gmail.com], [~vrodionov]. -- This message was sent by Atlassian JIRA (v7.6.3#76005)