You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "binlijin (JIRA)" <ji...@apache.org> on 2012/11/26 05:54:58 UTC

[jira] [Updated] (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:all-tabpanel ]

binlijin updated HBASE-7216:
----------------------------

    Attachment: HBASE-7216.patch
    
> 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.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