You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/01/21 20:12:26 UTC

[jira] [Commented] (HBASE-17504) The passed durability of Increment is ignored when syncing WAL

    [ https://issues.apache.org/jira/browse/HBASE-17504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15833130#comment-15833130 ] 

Ted Yu commented on HBASE-17504:
--------------------------------

lgtm

> The passed durability of Increment is ignored when syncing WAL
> --------------------------------------------------------------
>
>                 Key: HBASE-17504
>                 URL: https://issues.apache.org/jira/browse/HBASE-17504
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ChiaPing Tsai
>            Assignee: ChiaPing Tsai
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: HBASE-17504.branch-1.v0.patch
>
>
> {code:title=HRegion.java|borderStyle=solid}
> private Result doIncrement(Increment increment, long nonceGroup, long nonce) throws IOException {
> Durability effectiveDurability =    getEffectiveDurability(increment.getDurability());
> ...
> if(txid != 0) {
>   syncOrDefer(txid, durability);
> }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)