You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2013/12/09 01:43:07 UTC
[jira] [Resolved] (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 ]
stack resolved HBASE-7216.
--------------------------
Resolution: Duplicate
Release Note: Resolving as dup of HBASE-10010. This patch seems to have gone stale also. I only see SequenceFileLogWriter out in hbase-server/src/test/main now.
> 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 was sent by Atlassian JIRA
(v6.1.4#6159)