You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2012/11/26 06:32:59 UTC
[jira] [Commented] (HBASE-7216) sync hlog writer just after create
it, so trigger addBlock and establish write pipeline before the first hlog
sync
[ https://issues.apache.org/jira/browse/HBASE-7216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503625#comment-13503625 ]
Lars Hofhansl commented on HBASE-7216:
--------------------------------------
Reasoning sounds good to me.
Do you have some benchmark numbers by any chance [~aoxiang]?
> sync hlog writer just after create it, so trigger addBlock and establish write pipeline before the first hlog sync
> ------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-7216
> URL: https://issues.apache.org/jira/browse/HBASE-7216
> Project: HBase
> Issue Type: Improvement
> Reporter: binlijin
> Attachments: HBASE-7216-94.patch, HBASE-7216.patch
>
>
> Current when hlog rollWriter:
> (1)createWriter will call ClientProtocol.create
> (2)first hlog sync will trigger ClientProtocol.addBlock and establish write pipeline
> we can sync the outputstream to force trigger ClientProtocol.addBlock and establish write pipeline before the first hlog sync
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira