hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13881) Bug in HTable#incrementColumnValue implementation
Date Tue, 21 Jul 2015 09:37:05 GMT

     [ https://issues.apache.org/jira/browse/HBASE-13881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated HBASE-13881:
---------------------------
    Summary: Bug in HTable#incrementColumnValue implementation  (was: Bugs in HTable incrementColumnValue
implementation)

> Bug in HTable#incrementColumnValue implementation
> -------------------------------------------------
>
>                 Key: HBASE-13881
>                 URL: https://issues.apache.org/jira/browse/HBASE-13881
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.98.6.1, 1.0.1
>            Reporter: Jerry Lam
>         Attachments: HBASE-13881.branch-1.1.patch
>
>
> The exact method I'm talking about is:
> {code}
> @Deprecated
>   @Override
>   public long incrementColumnValue(final byte [] row, final byte [] family,
>       final byte [] qualifier, final long amount, final boolean writeToWAL)
>   throws IOException {
>     return incrementColumnValue(row, family, qualifier, amount,
>       writeToWAL? Durability.SKIP_WAL: Durability.USE_DEFAULT);
>   }
> {code}
> Setting writeToWAL to true, Durability will be set to SKIP_WAL which does not make much
sense unless the meaning of SKIP_WAL is negated.



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

Mime
View raw message