hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16971) The passed durability of Append/Increment isn't used in wal sync
Date Mon, 31 Oct 2016 20:31:58 GMT

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

Hudson commented on HBASE-16971:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-Trunk_matrix #1890 (See [https://builds.apache.org/job/HBase-Trunk_matrix/1890/])
HBASE-16971 The passed durability of Append/Increment isn't used in wal (tedyu: rev 861880b86b4a4f588671fce1aaff8ce91a223e89)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java


> The passed durability of Append/Increment isn't used in wal sync
> ----------------------------------------------------------------
>
>                 Key: HBASE-16971
>                 URL: https://issues.apache.org/jira/browse/HBASE-16971
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: ChiaPing Tsai
>            Assignee: ChiaPing Tsai
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16971.v0.patch
>
>
> We should pass the “effectiveDurability” to the doWALAppend() metohd.
> {code:title=HRegion.java|borderStyle=solid}
> private Result doDelta(...) {
>         Durability effectiveDurability = getEffectiveDurability(mutation.getDurability());
>         Map<Store, List<Cell>> forMemStore =
>             new HashMap<Store, List<Cell>>(mutation.getFamilyCellMap().size());
>         // Reckon Cells to apply to WAL --  in returned walEdit -- and what to add to
memstore and
>         // what to return back to the client (in 'forMemStore' and 'results' respectively).
>         WALEdit walEdit = reckonDeltas(op, mutation, effectiveDurability, forMemStore,
results);
>         // Actually write to WAL now if a walEdit to apply.
>         if (walEdit != null && !walEdit.isEmpty()) {
>           writeEntry = doWALAppend(walEdit, durability, nonceGroup, nonce);
>         } else {
> }
> {code}



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

Mime
View raw message