You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2019/01/30 18:40:00 UTC
[jira] [Resolved] (RATIS-470) write(List) not correctly
handling all records
[ https://issues.apache.org/jira/browse/RATIS-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser resolved RATIS-470.
------------------------------
Resolution: Fixed
Committed the first stab at this. Certainly more correct than it was before.
Need to consolidate this "reader" on top of the RaftLog a little more concisely and lots more testing.
> 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 [~chrajeshbabu32@gmail.com], [~vrodionov].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)