hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Lam (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13881) Bugs in HTable incrementColumnValue implementation
Date Wed, 10 Jun 2015 00:32:00 GMT
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)

Mime
View raw message