[
https://issues.apache.org/jira/browse/RATIS-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865752#comment-16865752
]
Josh Elser commented on RATIS-541:
----------------------------------
{quote}I think this will inflate the number of records written; I'd expect it
to cause the BulkReader to also fail (reading more records than it should).
{quote}
Actually, running this by hand and looking at the segments on one of the
logserver workers, we're only batching once every batch since, but writing
single records at the same time :)
After doing {{docker-compose up -d}} and starting the {{load-test}} script.
{noformat}
$ docker exec -it ratis-logservice_worker_1_1 /bin/sh
$ find /tmp/logservice_worker
...
$ less
/tmp/logservice-worker/a1c0303c-4b25-4505-b167-f00562eaa09e/current/log_0-100100
<OR>
$ less
/tmp/logservice-worker/a1c0303c-4b25-4505-b167-f00562eaa09e/current/log_inprogress_..{noformat}
You can either look at the inprogress segment or one of the closed segments (a
closed segment has two numbers like above {{0-100100}}, in this case the
messages with IDs 0 through 100100). These files are binary, but the load-test
tool generates ascii-enough looking data to have a general idea of the messages
serialized within.
This patch needs some more work. Thanks for v1, Rajeshbabu.
> Add option to verify correctness of batch and mix of batch and single updates
> data from LogService in VerficiationTool
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: RATIS-541
> URL: https://issues.apache.org/jira/browse/RATIS-541
> Project: Ratis
> Issue Type: Improvement
> Components: LogService
> Reporter: Rajeshbabu Chintaguntla
> Assignee: Rajeshbabu Chintaguntla
> Priority: Major
> Attachments: RATIS-541.patch
>
>
> Currently, in the verification tool, we are verifying single updates
> correctness in verification but the same can do for batch and mix of batch
> and single updates.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)