[
https://issues.apache.org/jira/browse/HBASE-10094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13841821#comment-13841821
]
Himanshu Vashishtha commented on HBASE-10094:
---------------------------------------------
Errr, just ignore my last nit... TestHLog doesn't use default iterations. It's
good to go. Thanks.
> Add batching to HLogPerformanceEvaluation
> -----------------------------------------
>
> Key: HBASE-10094
> URL: https://issues.apache.org/jira/browse/HBASE-10094
> Project: HBase
> Issue Type: Sub-task
> Components: Performance, wal
> Reporter: stack
> Assignee: Himanshu Vashishtha
> Attachments: 10094v2.txt
>
>
> As Himanshu points out in the the parent issue, HLogPE is using an unorthodox
> API appending edits to the WAL; it is using an API that is meant for tests
> only that does an append immediately followed by a sync call.
> In normal deploy, WAL appends are done as a bunch of appends followed by a
> sync on the tail of the transaction -- not a sync per append.
> This issue is about changing HLogPE to use append and then sync. It also
> adds an argument so you can specifying batching of a set of appends before
> the sync is called. The latter lets HLogPE mimic multi puts that use the
> minibatch... which appends, appends, appends.. and then syncs.
> Assigning to Himanshu for review.
--
This message was sent by Atlassian JIRA
(v6.1#6144)