You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jerry Lam (JIRA)" <ji...@apache.org> on 2015/06/10 02:32:00 UTC
[jira] [Created] (HBASE-13881) Bugs in HTable incrementColumnValue
implementation
Jerry Lam created HBASE-13881:
---------------------------------
Summary: Bugs 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: 1.0.1, 0.98.6.1
Reporter: Jerry Lam
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)