You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Clint Morgan (JIRA)" <ji...@apache.org> on 2009/10/01 23:17:23 UTC

[jira] Updated: (HBASE-1879) ReadOnly transactions generate WAL activity.

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

Clint Morgan updated HBASE-1879:
--------------------------------

    Attachment: 1879.patch

This fixes it. All transactional tests pass.

> ReadOnly transactions generate WAL activity.
> --------------------------------------------
>
>                 Key: HBASE-1879
>                 URL: https://issues.apache.org/jira/browse/HBASE-1879
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Clint Morgan
>            Assignee: Clint Morgan
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: 1879.patch
>
>
> Currently we write a start entry in the WAL each time a transaction starts, and a commit/abort at the end of the transaction. This means read-only transactions unnecessarily generate two WAL entries per region.
> Can avoid this by removing the start entry from the WAL (this is implicit in the first trx OP entry we see), and only writing commit/abort when the transaction has a write.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.