[
https://issues.apache.org/jira/browse/HBASE-13881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582695#comment-14582695
]
Ted Yu commented on HBASE-13881:
--------------------------------
bq. writeToWAL = true is equal to Durability.SYNC_WAL?
I think so.
> 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: 0.98.6.1, 1.0.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)