[
https://issues.apache.org/jira/browse/HBASE-12130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154358#comment-14154358
]
Anoop Sam John commented on HBASE-12130:
----------------------------------------
{code}
+ if (this.doHSync) this.output.hsync();
+ else this.output.hflush();
{code}
else should be
this.output.sync() no?
> HBASE-11980 calls hflush and hsync doing near double the syncing work
> ---------------------------------------------------------------------
>
> Key: HBASE-12130
> URL: https://issues.apache.org/jira/browse/HBASE-12130
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0, 0.99.1
> Reporter: stack
> Assignee: stack
> Priority: Critical
> Attachments: 12130.txt, Screen Shot 2014-09-30 at 9.17.09 PM.png
>
>
> The HBASE-11980 change has us doing hflush and hsync every time we call sync
> (noticed profiling). Fix. Let me expose as config calling one or the other.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)